From 8a4fa58cd42b7cca4a86fe2d9913b839b554bf10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?eray=20or=C3=A7unus?= Date: Mon, 11 May 2020 05:55:57 +0300 Subject: Linux build support --- src/animation/AnimBlendAssocGroup.cpp | 4 ++++ src/animation/CutsceneMgr.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/animation') diff --git a/src/animation/AnimBlendAssocGroup.cpp b/src/animation/AnimBlendAssocGroup.cpp index 5a6d10b4..fe419f2a 100644 --- a/src/animation/AnimBlendAssocGroup.cpp +++ b/src/animation/AnimBlendAssocGroup.cpp @@ -1,6 +1,10 @@ #include "common.h" +#if defined _WIN32 && !defined __MINGW32__ #include "ctype.h" +#else +#include +#endif #include "General.h" #include "RwHelper.h" diff --git a/src/animation/CutsceneMgr.cpp b/src/animation/CutsceneMgr.cpp index 0db54c4b..230e22fb 100644 --- a/src/animation/CutsceneMgr.cpp +++ b/src/animation/CutsceneMgr.cpp @@ -103,7 +103,7 @@ const struct { { "MT_PH2", STREAMED_SOUND_CUTSCENE_MARTY_PH2 }, { "MT_PH3", STREAMED_SOUND_CUTSCENE_MARTY_PH3 }, { "MT_PH4", STREAMED_SOUND_CUTSCENE_MARTY_PH4 }, - { NULL, NULL } + { NULL, 0 } }; int -- cgit v1.2.3