1*946379e7Schristos /* OS/2 compatibility defines. 2*946379e7Schristos This file is intended to be included from config.h 3*946379e7Schristos Copyright (C) 2001-2002 Free Software Foundation, Inc. 4*946379e7Schristos 5*946379e7Schristos This program is free software; you can redistribute it and/or modify it 6*946379e7Schristos under the terms of the GNU Library General Public License as published 7*946379e7Schristos by the Free Software Foundation; either version 2, or (at your option) 8*946379e7Schristos any later version. 9*946379e7Schristos 10*946379e7Schristos This program is distributed in the hope that it will be useful, 11*946379e7Schristos but WITHOUT ANY WARRANTY; without even the implied warranty of 12*946379e7Schristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13*946379e7Schristos Library General Public License for more details. 14*946379e7Schristos 15*946379e7Schristos You should have received a copy of the GNU Library General Public 16*946379e7Schristos License along with this program; if not, write to the Free Software 17*946379e7Schristos Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 18*946379e7Schristos USA. */ 19*946379e7Schristos 20*946379e7Schristos /* When included from os2compat.h we need all the original definitions */ 21*946379e7Schristos #ifndef OS2_AWARE 22*946379e7Schristos 23*946379e7Schristos #undef LIBDIR 24*946379e7Schristos #define LIBDIR _nlos2_libdir 25*946379e7Schristos extern char *_nlos2_libdir; 26*946379e7Schristos 27*946379e7Schristos #undef LOCALEDIR 28*946379e7Schristos #define LOCALEDIR _nlos2_localedir 29*946379e7Schristos extern char *_nlos2_localedir; 30*946379e7Schristos 31*946379e7Schristos #undef LOCALE_ALIAS_PATH 32*946379e7Schristos #define LOCALE_ALIAS_PATH _nlos2_localealiaspath 33*946379e7Schristos extern char *_nlos2_localealiaspath; 34*946379e7Schristos 35*946379e7Schristos #endif 36*946379e7Schristos 37*946379e7Schristos #undef HAVE_STRCASECMP 38*946379e7Schristos #define HAVE_STRCASECMP 1 39*946379e7Schristos #define strcasecmp stricmp 40*946379e7Schristos #define strncasecmp strnicmp 41*946379e7Schristos 42*946379e7Schristos /* We have our own getenv() which works even if library is compiled as DLL */ 43*946379e7Schristos #define getenv _nl_getenv 44*946379e7Schristos 45*946379e7Schristos /* Older versions of gettext used -1 as the value of LC_MESSAGES */ 46*946379e7Schristos #define LC_MESSAGES_COMPAT (-1) 47