Port Gambatte
This commit is contained in:
parent
b5d188ad5e
commit
ada256b0f1
Binary file not shown.
|
@ -11,7 +11,7 @@ else
|
|||
$(error Unknown arch)
|
||||
endif
|
||||
|
||||
CXXFLAGS = -Wall -Iinclude -Isrc -O3 -std=c++11 -fno-exceptions -flto
|
||||
CXXFLAGS = -Wall -Iinclude -Isrc -O3 -std=c++11 -fno-exceptions -flto -fPIC
|
||||
TARGET = libgambatte.dll
|
||||
LDFLAGS_32 = -static -static-libgcc -static-libstdc++
|
||||
LDFLAGS_64 =
|
||||
|
|
|
@ -21,6 +21,10 @@
|
|||
|
||||
// these are all documented on the C# side
|
||||
|
||||
#ifdef _WIN32
|
||||
#define GBEXPORT extern "C" __declspec(dllexport)
|
||||
#elif __linux__
|
||||
#define GBEXPORT extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue