server does not use libintl

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5051 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2010-05-25 20:20:31 +00:00
parent 473e82fcc5
commit 5d109a6d62
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -27,7 +27,6 @@
#endif
#include <zlib.h>
#include <libintl.h>
#include <enet/enet.h>
#ifdef WIN32
@@ -44,6 +43,7 @@
#endif
#ifndef STANDALONE
#include <libintl.h>
#include <SDL.h>
#include <SDL_image.h>
#include <SDL_ttf.h>
+2
View File
@@ -742,6 +742,7 @@ inline char *newstring(const char *s) { return newstring(s, strlen(s))
inline char *newstringbuf() { return newstring(MAXSTRLEN-1); }
inline char *newstringbuf(const char *s) { return newstring(s, MAXSTRLEN-1); }
#ifndef STANDALONE
inline const char *_gettext(const char *msgid)
{
if(msgid && msgid[0] != '\0')
@@ -749,6 +750,7 @@ inline const char *_gettext(const char *msgid)
else
return "";
}
#endif
#define _(s) _gettext(s)