summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2003-09-05 13:24:52 +0000
committerpixel <pixel>2003-09-05 13:24:52 +0000
commit97016d7cf0a5426e1d52637d3eff83ed4b9a7b57 (patch)
treef4dae853bc8b036d0dc51d9db085c7c2a0dfdae4 /include
parent05e5811ee35a95568b5c95225c559f6340871982 (diff)
Added getopt code and fixed some more windows things.
Diffstat (limited to 'include')
-rw-r--r--include/generic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/generic.h b/include/generic.h
index aa6033e..fe48cc5 100644
--- a/include/generic.h
+++ b/include/generic.h
@@ -137,6 +137,7 @@ inline T ABS(T x) {
#define MKDIR(name) mkdir(name, 0777)
#else
#if defined __WIN32__ || defined _WIN32
+#include <direct.h>
#define MKDIR mkdir
#else
#error Unknow compiler/platform