]> git.mxchange.org Git - quix0rs-blobwars.git/commitdiff
Don't try to #include <libintl.h> on Mac OS X.
authorGuus Sliepen <guus@debian.org>
Sat, 21 Nov 2015 21:40:42 +0000 (22:40 +0100)
committerGuus Sliepen <guus@debian.org>
Sat, 21 Nov 2015 21:40:42 +0000 (22:40 +0100)
It's a bit of a hassle to get gettext going on Mac OS X, so skip it for now.

src/headers.h

index 2c5396dae1071b1167a58377425fbcacb6541aec..389b34bb021a829dcf0fc052a9e5f721bd241d42 100644 (file)
@@ -46,7 +46,7 @@ extern DECLSPEC int SDLCALL SDL_GetGamma(float *red, float *green, float *blue);
 #include "SDL2/SDL_net.h"
 #endif
 
-#ifndef WIN32
+#if !defined(_WIN32) && !defined(__APPLE__)
 #include <libintl.h>
 #define _(string) gettext(string)
 #else