[rtmpdump] r504 - in trunk/librtmp: amf.h rtmp_sys.h

hyc subversion at mplayerhq.hu
Wed Jun 2 23:12:20 CEST 2010


Author: hyc
Date: Wed Jun  2 23:12:19 2010
New Revision: 504

Log:
move TRUE/FALSE defs to public header, just in case

Modified:
   trunk/librtmp/amf.h
   trunk/librtmp/rtmp_sys.h

Modified: trunk/librtmp/amf.h
==============================================================================
--- trunk/librtmp/amf.h	Wed Jun  2 18:52:55 2010	(r503)
+++ trunk/librtmp/amf.h	Wed Jun  2 23:12:19 2010	(r504)
@@ -26,6 +26,11 @@
 
 #include <stdint.h>
 
+#ifndef TRUE
+#define TRUE	1
+#define FALSE	0
+#endif
+
 #ifdef __cplusplus
 extern "C"
 {

Modified: trunk/librtmp/rtmp_sys.h
==============================================================================
--- trunk/librtmp/rtmp_sys.h	Wed Jun  2 18:52:55 2010	(r503)
+++ trunk/librtmp/rtmp_sys.h	Wed Jun  2 23:12:19 2010	(r504)
@@ -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


More information about the rtmpdump mailing list