From: hyc Date: Wed, 2 Jun 2010 21:12:19 +0000 (+0000) Subject: move TRUE/FALSE defs to public header, just in case X-Git-Tag: v2.4~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffdb7755b0f5bc3b5b9d2e3c45b7d3076d09d368;p=rtmpdump move TRUE/FALSE defs to public header, just in case git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@504 400ebc74-4327-4243-bc38-086b20814532 --- diff --git a/librtmp/amf.h b/librtmp/amf.h index 33d38cd..20ff652 100644 --- a/librtmp/amf.h +++ b/librtmp/amf.h @@ -26,6 +26,11 @@ #include +#ifndef TRUE +#define TRUE 1 +#define FALSE 0 +#endif + #ifdef __cplusplus extern "C" { diff --git a/librtmp/rtmp_sys.h b/librtmp/rtmp_sys.h index 4a49d62..155062a 100644 --- a/librtmp/rtmp_sys.h +++ b/librtmp/rtmp_sys.h @@ -60,12 +60,6 @@ #define SET_RCVTIMEO(tv,s) struct timeval tv = {s,0} #endif -/* macros for people who don't understand C */ -#undef TRUE -#undef FALSE -#define TRUE 1 -#define FALSE 0 - #include "rtmp.h" #ifdef USE_POLARSSL