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)