summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordianshi <dianshi@main.lv>2020-04-08 19:55:02 +0100
committerdianshi <dianshi@main.lv>2020-04-08 19:55:02 +0100
commit59cfc50fbc2d518f0674638fae578e12ad3f547c (patch)
treeb4414f65be865e3291fb8429f5f65d6df9eeca8f
parent763cfe0a19ce46b64bc637b65352006526eff37c (diff)
downloadPIPET-1-master.tar.gz
PIPET-1-master.zip
Added os detection for SDL2 librariesHEADmaster
-rw-r--r--PIPET-1/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/PIPET-1/main.c b/PIPET-1/main.c
index 45c9b43..7463670 100644
--- a/PIPET-1/main.c
+++ b/PIPET-1/main.c
@@ -17,7 +17,12 @@
#include <pthread.h>
#include <SDL2/SDL.h>
+
+#ifdef __APPLE__
#include <SDL2_ttf/SDL_ttf.h>
+#else
+#include <SDL2/SDL_ttf.h>
+#endif
#include "pipet_view.h"