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:
authorsamehkhamis <sameh.khamis@gmail.com>2015-07-24 19:00:25 +0300
committersamehkhamis <sameh.khamis@gmail.com>2015-07-24 22:04:49 +0300
commit0bade9f14c3262eeba71ec63b58ce6c28d6841fa (patch)
treec4dfe28c3b643975cee67ffc6693e38ee7d80328
parent87df92371bba4660fc66d30ef2934220faa74f0f (diff)
parent300c66f39dabdca7354dbba8a3ace1ff3cd761a9 (diff)
Compile whether using Lua 5.1 or LuaJIT 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 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>