add macro stuff in system.h
authorrobin
Tue, 28 Sep 2021 17:04:08 +0100
changeset 106 405e14cfa706
parent 105 09dc95e69ad4
child 107 5a2d8906a279
add macro stuff in system.h
src/rxp/system.h
--- a/src/rxp/system.h	Tue Sep 28 17:03:29 2021 +0100
+++ b/src/rxp/system.h	Tue Sep 28 17:04:08 2021 +0100
@@ -3,6 +3,15 @@
 #define SOCKETS_IMPLEMENTED
 #define HAVE_LONG_LONG_INT
 
+#define _stringize(n) #n
+#define stringize(n) _stringize(n)
+#ifdef DEBUG_PYRXP
+/*system.h debugging on*/
+#	define RLDEBUG(...) fprintf(stderr,__VA_ARGS__)
+#else
+#	define RLDEBUG(...)
+#endif
+
 #define STD_API
 #define XML_API
 #define WIN_IMP