commit cad4ed4c4d600380c6ca2049af8cb78fdef46d2e
parent 526e013e1656a18c87d6743fc57e39a485441a3f
Author: fundamental <mark.d.mccurry@gmail.com>
Date: Sun, 11 Jan 2015 21:47:19 -0500
Nio: Permit File Compilation Without Defines
Define implicit values for DEFAULT_IN and DEFAULT_OUT
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/Nio/Nio.cpp b/src/Nio/Nio.cpp
@@ -12,6 +12,13 @@ using std::set;
using std::cerr;
using std::endl;
+#ifndef IN_DEFAULT
+#define IN_DEFAULT "NULL"
+#endif
+#ifndef OUT_DEFAULT
+#define OUT_DEFAULT "NULL"
+#endif
+
InMgr *in = NULL;
OutMgr *out = NULL;
EngineMgr *eng = NULL;