summaryrefslogtreecommitdiff
path: root/win32port/win32helpers
diff options
context:
space:
mode:
Diffstat (limited to 'win32port/win32helpers')
-rw-r--r--win32port/win32helpers/websock-w32.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/win32port/win32helpers/websock-w32.h b/win32port/win32helpers/websock-w32.h
index 2d2bb4a..2483a8f 100644
--- a/win32port/win32helpers/websock-w32.h
+++ b/win32port/win32helpers/websock-w32.h
@@ -50,6 +50,13 @@ extern INT WSAAPI emulated_poll(LPWSAPOLLFD fdarray, ULONG nfds, INT timeout);
/* override configure because we are not using Makefiles */
#define LWS_NO_FORK
-#define DATADIR "."
+
+/* windows can't cope with this idea, needs assets in cwd */
+
+#ifdef INSTALL_DATADIR
+#undef INSTALL_DATADIR
+#endif
+
+#define INSTALL_DATADIR "."
#endif