Commit a028856e authored by mercury233's avatar mercury233 Committed by GitHub

fix define WIN32 (#748)

* fix define WIN32

* remove redundant buildoptions

* remove redundant buildoptions
parent bd7b117b
......@@ -10,7 +10,7 @@
#include "common.h"
#ifdef WIN32
#ifdef _WIN32
#define DECL_DLLEXPORT __declspec(dllexport)
#else
#define DECL_DLLEXPORT
......
......@@ -31,7 +31,6 @@ workspace "ocgcoredll"
defines "_DEBUG"
filter "system:windows"
defines { "WIN32", "_WIN32" }
systemversion "latest"
startproject "ocgcore"
......@@ -50,9 +49,6 @@ workspace "ocgcoredll"
buildoptions { "/utf-8" }
defines { "_CRT_SECURE_NO_WARNINGS" }
filter "not action:vs*"
buildoptions { }
filter "system:bsd"
defines { "LUA_USE_POSIX" }
......
......@@ -16,4 +16,3 @@ project "lua"
filter "system:linux"
defines { "LUA_USE_LINUX" }
buildoptions { "-fPIC" }
......@@ -12,9 +12,6 @@ project "ocgcore"
libdirs { LUA_LIB_DIR }
end
filter "not action:vs*"
buildoptions { }
filter "system:bsd"
defines { "LUA_USE_POSIX" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment