Update of /cvsroot/syncml-ctoolkit/toolkit/src/xpt/bindings/common/tcp/all
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1001/xpt/bindings/common/tcp/all
Modified Files:
xpttypes.h
Log Message:
Fixed compilation error on GCC('true' is undeclared).
Index: xpttypes.h
===================================================================
RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/xpt/bindings/common/tcp/all/xpttypes.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** xpttypes.h 18 Jan 2005 21:01:39 -0000 1.4
--- xpttypes.h 8 Aug 2005 09:20:05 -0000 1.5
***************
*** 90,93 ****
--- 90,101 ----
#endif
+ #ifndef true
+ #define true 1
+ #endif
+ #ifndef false
+ #define false 0
+ #endif
+
+
typedef unsigned char *DataBuffer_t;
typedef DataBuffer_t *DataPtr_t;
|