common.h

changeset 29
55406ce7446e
parent 25
c74bb88f537d
child 30
31ff9aabd506
--- a/common.h	Mon Mar 18 13:16:21 2013 +0200
+++ b/common.h	Mon Mar 18 18:29:02 2013 +0200
@@ -29,6 +29,12 @@
  #define FORMAT_PRINTF(M,N)
 #endif // __GNUC__
 
+#ifdef WIN32
+#define DIRSLASH "\\"
+#else // WIN32
+#define DIRSLASH "/"
+#endif // WIN32
+
 using std::vector;
 
 class ForgeWindow;

mercurial