Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/paths.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2015-07-25 19:37:49 +0300
committerSoumith Chintala <soumith@gmail.com>2015-07-25 19:37:49 +0300
commitbe5c68886b3e969515f9999a7893b1d061c656d2 (patch)
treec4dfe28c3b643975cee67ffc6693e38ee7d80328
parent693942c31111a8948b786f3de5cbb354024cdc52 (diff)
parent0bade9f14c3262eeba71ec63b58ce6c28d6841fa (diff)
Merge pull request #11 from samehkhamis/master
Making things work under windows
-rw-r--r--paths.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/paths.h.in b/paths.h.in
index 143f034..02ca46d 100644
--- a/paths.h.in
+++ b/paths.h.in
@@ -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>