Port VBA-Next

This commit is contained in:
YoshiRulz 2019-10-25 21:39:46 +10:00
parent 12e83ac257
commit d963f91707
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
3 changed files with 5 additions and 1 deletions

BIN
Assets/libvbanext.dll.so Normal file

Binary file not shown.

View File

@ -13537,7 +13537,11 @@ void operator delete(void *p)
std::free(p);
}
#ifdef _WIN32
#define EXPORT extern "C" __declspec(dllexport)
#elif __linux__
#define EXPORT extern "C"
#endif
// public interface follows
EXPORT Gigazoid *Create()

View File

@ -1,7 +1,7 @@
CXX = g++
CXXFLAGS = -Wall -O3 -fpermissive -Wno-unused-but-set-variable \
-Wno-strict-aliasing -Wzero-as-null-pointer-constant -Wno-unused-variable \
-Wno-parentheses -Wno-sign-compare -std=gnu++11 -fomit-frame-pointer -fno-exceptions
-Wno-parentheses -Wno-sign-compare -std=gnu++11 -fomit-frame-pointer -fno-exceptions -fPIC
MACHINE = $(shell $(CXX) -dumpmachine)
ifneq (,$(findstring i686,$(MACHINE)))