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

github.com/torch/qtlua.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2015-07-24 10:07:53 +0300
committerSoumith Chintala <soumith@gmail.com>2015-07-24 10:07:53 +0300
commit33e228e29d22faf5f8830a68fadb7ad8f362762e (patch)
tree1e5e706c91e1926ce5cb5c6ae53a5b44b528ef81
parent15ea0ecf9c8305376479bf5d8ea5d7795b22c833 (diff)
parent9ec3db1dcf383e593ba6e3f4138e5092286ee99a (diff)
Merge pull request #10 from samehkhamis/master
CMake defines _WIN32, not WIN32
-rw-r--r--qtlua/qtluautils.h2
-rw-r--r--qtutil/qtutilconf.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/qtlua/qtluautils.h b/qtlua/qtluautils.h
index cc25871..71ec1d4 100644
--- a/qtlua/qtluautils.h
+++ b/qtlua/qtluautils.h
@@ -9,7 +9,7 @@ extern "C" {
}
#include "qtluaconf.h"
-#ifdef WIN32
+#ifdef _WIN32
# ifdef libqtlua_EXPORTS
# define QTLUAAPI __declspec(dllexport)
# else
diff --git a/qtutil/qtutilconf.h b/qtutil/qtutilconf.h
index 4a2fd29..c5100fc 100644
--- a/qtutil/qtutilconf.h
+++ b/qtutil/qtutilconf.h
@@ -3,7 +3,7 @@
#ifndef QTUTILCONF_H
#define QTUTILCONF_H
-#ifdef WIN32
+#ifdef _WIN32
# ifdef libqtutil_EXPORTS
# define QTUTILAPI __declspec(dllexport)
# else