obs-filters: Actually define TRUE/FALSE

Doing something like '#if TRUE' when 'TRUE' isn't defined is the
equivalent to '#if 0' because the preprocessor evaluates an undefined
macro as 0/false.
This commit is contained in:
jp9000 2016-07-27 10:18:53 -07:00
parent 498051b8f0
commit 7e8ad0a08e

View File

@ -1,3 +1,11 @@
#pragma once
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#define SPEEXDSP_ENABLED @LIBSPEEXDSP_FOUND@