Fixed bug with Windows compilation
This commit is contained in:
parent
c298d7614b
commit
b50bd53c0d
3 changed files with 5 additions and 2 deletions
2
build.nr
2
build.nr
|
|
@ -1 +1 @@
|
|||
1859
|
||||
1862
|
||||
|
|
|
|||
2
compile
2
compile
|
|
@ -36,6 +36,8 @@ elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
|
|||
|
||||
cp ./bin/libostd.dll ./Release/lib
|
||||
cp ./bin/libostd.dll.a ./Release/lib
|
||||
cp ./bin/libogfx.dll ./Release/lib
|
||||
cp ./bin/libogfx.dll.a ./Release/lib
|
||||
|
||||
cp C:/msys64/ucrt64/bin/libgcc_s_seh-1.dll ./Release/lib
|
||||
cp C:/msys64/ucrt64/bin/libstdc++-6.dll ./Release/lib
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef _WIN32
|
||||
#define SDL_MAIN_HANDLED
|
||||
#undef __linux__
|
||||
#endif
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL2_gfxPrimitives.h>
|
||||
#include <SDL2/SDL_ttf.h>
|
||||
#include <SDL2/SDL_ttf.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue