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:
-rw-r--r--paths.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/paths.h.in b/paths.h.in
index 9d000c2..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 _WIN32
+#if defined(_WIN32) || defined(LUA_WIN)
# include <errno.h>
# include <windows.h>