remove stuff we won't need
[pcsx_rearmed.git] / win32 / intl / libintl.h
diff --git a/win32/intl/libintl.h b/win32/intl/libintl.h
deleted file mode 100644 (file)
index 1dcc6af..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-/* This file is part of a Windows32 DLL Interface to:\r
-   GNU gettext - internationalization aids\r
-   Copyright (C) 1996, 1998 Free Software Foundation, Inc.\r
-\r
-   This file was written by Franco Bez <franco.bez@gmx.de>\r
-\r
-This program is free software; you can redistribute it and/or modify\r
-it under the terms of the GNU Lesser General Public License as published by\r
-the Free Software Foundation; either version 2, or (at your option)\r
-any later version.\r
-\r
-This program is distributed in the hope that it will be useful,\r
-but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-GNU Lesser General Public License for more details.\r
-\r
-You should have received a copy of the GNU Lesser General Public License\r
-along with this program; if not, write to the Free Software\r
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307 USA.  */\r
-\r
-/* REPLACEMENT FOR ORIGINAL LIBINTL.H for use with Windows32 */\r
-\r
-#if !defined(__LIBINTL_H_INCLUDED)\r
-#define __LIBINTL_H_INCLUDED\r
-\r
-#if defined(__cplusplus)\r
-extern "C" { \r
-#endif\r
-\r
-/* See if we allready know what we want static or dll linkage or none at all*/\r
-#if defined DONT_USE_GETTEXT || ( defined USE_SAFE_GETTEXT_DLL && defined USE_GETTEXT_STATIC ) || ( defined USE_GETTEXT_DLL && defined USE_SAFE_GETTEXT_DLL ) || ( defined USE_GETTEXT_DLL && defined USE_GETTEXT_STATIC ) \r
-/* TWO IS HARDLY POSSIBLE */\r
-#undef  USE_GETTEXT_DLL\r
-#undef  USE_GETTEXT_STATIC\r
-#undef USE_SAFE_GETTEXT_DLL\r
-#endif  /* MORE THAN ONE - OR NONE AT ALL */\r
-\r
-#if !defined USE_GETTEXT_DLL && !defined USE_SAFE_GETTEXT_DLL && !defined USE_GETTEXT_STATIC && !defined DONT_USE_GETTEXT\r
-/* not explicitly defined so try to guess it - \r
-   if GNUC is used - we use static linkage by default\r
-           because at the moment this is the only plattform\r
-          for which a static lib is available\r
-   else we use the DLL built with GNUC */   \r
-#  define USE_GETTEXT_STATIC\r
-#endif  /* NONE */\r
-\r
-/* NOW ONLY ONE OF\r
-   DONT_USE_GETTEXT , USE_GETTEXT_DLL , USE_SAFE_GETTEXT_DLL , USE_GETTEXT_STATIC \r
-   IS DEFINED */\r
-\r
-#if defined USE_GETTEXT_DLL\r
-/* exported functions in DLL gnu_gettext.dll \r
-   you should link with import library \r
-    -lgnu_gettext (for mingw32) OR  gnu_gettext.lib (MSVC) */\r
-__declspec(dllimport) char *gettext(const char *__msgid);\r
-__declspec(dllimport) char *dgettext(const char *__domainname,const char *__msgid);\r
-__declspec(dllimport) char *dcgettext(const char *__domainname,const char *__msgid, int __category);\r
-__declspec(dllimport) char *textdomain(const char *__domainname);\r
-__declspec(dllimport) char *bindtextdomain(const char *__domainname,const char *__dirname);\r
-/* calling _putenv from within the DLL */\r
-__declspec(dllexport) int gettext_putenv(const char *envstring);\r
-#endif /* DLL */\r
-\r
-#if defined USE_SAFE_GETTEXT_DLL\r
-/* Uses DLL gnu_gettext.dll ONLY if present, otherwise NO translation will take place\r
-   you should link with "safe_gettext_dll.o -lstdc++" see README for safe_gettext_dll for Details  */\r
-/* The safe gettext functions */\r
-extern char *gettext(const char *szMsgId);\r
-extern char *dgettext(const char *szDomain,const char *szMsgId);\r
-extern char *dcgettext(const char *szDomain,const char *szMsgId,int iCategory);\r
-extern char *textdomain(const char *szDomain);\r
-extern char *bindtextdomain(const char *szDomain,const char *szDirectory);\r
-/* calling _putenv from within the DLL */\r
-extern int gettext_putenv(const char *envstring);\r
-#endif /* SAFE DLL */\r
-\r
-#if defined USE_GETTEXT_STATIC\r
-/* exported functions in static library libintl.a \r
-   and supporting macros\r
-   you should link with -lintl (mingw32) */\r
-extern char *gettext__(const char *__msgid);\r
-extern char *dgettext__(const char *__domainname,const char *__msgid);\r
-extern char *dcgettext__(const char *__domainname,const char *__msgid, int __category);\r
-extern char *textdomain__(const char *__domainname);\r
-extern char *bindtextdomain__(const char *__domainname,const char *__dirname);\r
-#define gettext(szMsgId) gettext__(szMsgId)\r
-#define dgettext(szDomain,szMsgId) dgettext__(szDomain,szMsgId)\r
-#define dcgettext(szDomain,szMsgId,iCategory) dcgettext__(szDomain,szMsgId,iCategory)\r
-#define textdomain(szDomain) textdomain__(szDomain)\r
-#define bindtextdomain(szDomain,szDirectory) bindtextdomain__(szDomain,szDirectory)\r
-// dummy - for static linkage -  calling _putenv from within the DLL\r
-#define gettext_putenv(a) _putenv(a)\r
-#endif /* STATIC */\r
-\r
-#if defined DONT_USE_GETTEXT\r
-/* DON'T USE GETTEXT AT ALL\r
-   MAKROS TO MAKE CODE COMPILE WELL, BUT GETTEXT WILL NOT BE USESD\r
-*/\r
-# define gettext(Msgid) (Msgid)\r
-# define dgettext(Domainname, Msgid) (Msgid)\r
-# define dcgettext(Domainname, Msgid, Category) (Msgid)\r
-# define textdomain(Domainname) ((char *) Domainname)\r
-# define bindtextdomain(Domainname, Dirname) ((char *) Dirname)\r
-// dummy - for static linkage -  calling _putenv from within the DLL\r
-# define gettext_putenv(a) _putenv(a)\r
-#endif /* DON'T USE AT ALL */\r
-\r
-#if defined(__cplusplus)\r
-} /* extern "C" */\r
-#endif\r
-\r
-#endif /*!defined(__LIBINTL_H_INCLUDED)*/\r