X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Fheaders.h;h=510447e58b1c6229fecaf7609ab88127b2f6898d;hb=ba027fd5579c333f6ff7049995f712c1237e9e07;hp=943f13f07ae48ac431dde15125b823309e51bd3d;hpb=f252549ec2a5392f2be8bb5ca707b27a464b4583;p=quix0rs-blobwars.git diff --git a/src/headers.h b/src/headers.h index 943f13f..510447e 100644 --- a/src/headers.h +++ b/src/headers.h @@ -1,5 +1,5 @@ /* -Copyright (C) 2004-2010 Parallel Realities +Copyright (C) 2004-2011 Parallel Realities This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -18,6 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include #include #include #include @@ -29,21 +30,29 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include +#include #include extern C_LINKAGE void openHelpURL(); #ifndef SDL_GetGamma extern DECLSPEC int SDLCALL SDL_GetGamma(float *red, float *green, float *blue); #endif #else -#include "SDL/SDL.h" -#include "SDL/SDL_image.h" -#include "SDL/SDL_mixer.h" -#include "SDL/SDL_ttf.h" -#include "SDL/SDL_net.h" +#include "SDL2/SDL.h" +#include "SDL2/SDL_image.h" +#include "SDL2/SDL_mixer.h" +#include "SDL2/SDL_ttf.h" +#include "SDL2/SDL_net.h" #endif +#ifndef WIN32 #include #define _(string) gettext(string) +#else +#define _(x) (x) +#define gettext(x) (x) +#define bindtextdomain(x, y) while(false) +#define textdomain(x) while(false) +#endif #if !defined(OpenBSD) && !defined(FreeBSD) #define strlcat(dest, src, n) strncat((dest), (src), (n) - 1)