diff options
author | Joakim Soderberg <joakim.soderberg@gmail.com> | 2013-02-22 09:28:17 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2013-02-22 09:28:17 +0800 |
commit | c7ed2be638d7319cb0cb863c3e3d02b430ded405 (patch) | |
tree | d2f33634b4b495adf865a32264fee8516df16b0e /win32port | |
parent | b82b0dd118cd575e3d5c59deabc084e2b9217cff (diff) | |
download | libwebsockets-c7ed2be638d7319cb0cb863c3e3d02b430ded405.tar.gz |
Fix running test programs from within visual studio.
Copy test-server data to a path so that we can run the test-server from
within visual studio without having to copy stuff around.
Diffstat (limited to 'win32port')
-rw-r--r-- | win32port/win32helpers/websock-w32.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/win32port/win32helpers/websock-w32.h b/win32port/win32helpers/websock-w32.h index dfd99ca9..72a4f5c6 100644 --- a/win32port/win32helpers/websock-w32.h +++ b/win32port/win32helpers/websock-w32.h @@ -55,10 +55,8 @@ extern INT WSAAPI emulated_poll(LPWSAPOLLFD fdarray, ULONG nfds, INT timeout); /* windows can't cope with this idea, needs assets in cwd */
-#ifdef INSTALL_DATADIR
-#undef INSTALL_DATADIR
-#endif
-
+#ifndef INSTALL_DATADIR
#define INSTALL_DATADIR "."
+#endif
#endif
|