]> granicus.if.org Git - rtmpdump/commitdiff
move TRUE/FALSE defs to public header, just in case
authorhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Wed, 2 Jun 2010 21:12:19 +0000 (21:12 +0000)
committerhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Wed, 2 Jun 2010 21:12:19 +0000 (21:12 +0000)
git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@504 400ebc74-4327-4243-bc38-086b20814532

librtmp/amf.h
librtmp/rtmp_sys.h

index 33d38cd0cea3ab65abee87f3f25395814c8c80e1..20ff652a820f9511840f7e4d858fb9a23b77e4b1 100644 (file)
 
 #include <stdint.h>
 
+#ifndef TRUE
+#define TRUE   1
+#define FALSE  0
+#endif
+
 #ifdef __cplusplus
 extern "C"
 {
index 4a49d62e86fc22961eda9d348a4b19341e07bf1e..155062afa47b24b521d5aadd212f113c7cc0f70f 100644 (file)
 #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