diff options
author | Soumith Chintala <soumith@gmail.com> | 2015-07-25 19:37:49 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2015-07-25 19:37:49 +0300 |
commit | be5c68886b3e969515f9999a7893b1d061c656d2 (patch) | |
tree | c4dfe28c3b643975cee67ffc6693e38ee7d80328 | |
parent | 693942c31111a8948b786f3de5cbb354024cdc52 (diff) | |
parent | 0bade9f14c3262eeba71ec63b58ce6c28d6841fa (diff) |
Merge pull request #11 from samehkhamis/master
Making things work under windows
-rw-r--r-- | paths.h.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ #include <string.h> #include <ctype.h> -#ifdef _WIN32 +#if defined(_WIN32) || defined(LUA_WIN) # ifdef paths_EXPORTS # define PATHS_API __declspec(dllexport) # else @@ -19,7 +19,7 @@ #endif -#ifdef LUA_WIN +#if defined(_WIN32) || defined(LUA_WIN) # include <errno.h> # include <windows.h> |