From 5d109a6d6272dca19ced07e8ec7ae018bdde3f73 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Tue, 25 May 2010 20:20:31 +0000 Subject: [PATCH] server does not use libintl git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5051 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/platform.h | 2 +- source/src/tools.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/src/platform.h b/source/src/platform.h index 5ea74742..5301b647 100644 --- a/source/src/platform.h +++ b/source/src/platform.h @@ -27,7 +27,6 @@ #endif #include -#include #include #ifdef WIN32 @@ -44,6 +43,7 @@ #endif #ifndef STANDALONE + #include #include #include #include diff --git a/source/src/tools.h b/source/src/tools.h index 78b97653..6599b4ae 100644 --- a/source/src/tools.h +++ b/source/src/tools.h @@ -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)