summaryrefslogtreecommitdiff
path: root/src/port.h
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-12-05 20:30:27 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2014-12-05 20:30:27 +0100
commitc81701d1bf5f20932ba77b3b1e1893a51e182f73 (patch)
tree6d8658f8ea40f114ff759c26077e2093e74ac817 /src/port.h
parent67ba87a159fb55196092e59c041af6d69ce07e75 (diff)
downloadbiruda-c81701d1bf5f20932ba77b3b1e1893a51e182f73.tar.gz
biruda-c81701d1bf5f20932ba77b3b1e1893a51e182f73.tar.bz2
first working version of worker spool files in the master
Diffstat (limited to 'src/port.h')
-rw-r--r--src/port.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/port.h b/src/port.h
index 3d98280..5fefa88 100644
--- a/src/port.h
+++ b/src/port.h
@@ -30,4 +30,11 @@ typedef unsigned char _Bool;
#include <stdbool.h>
#endif
+// directory separator
+#ifdef _WIN32
+#define PORT_DIR_SEPARATOR '\\'
+#else
+#define PORT_DIR_SEPARATOR '/'
+#endif
+
#endif