00001 /* OS/2 compatibility defines. 00002 This file is intended to be included from config.h 00003 Copyright (C) 2001-2002 Free Software Foundation, Inc. 00004 00005 This program is free software; you can redistribute it and/or modify it 00006 under the terms of the GNU Library General Public License as published 00007 by the Free Software Foundation; either version 2, or (at your option) 00008 any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 You should have received a copy of the GNU Library General Public 00016 License along with this program; if not, write to the Free Software 00017 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 00018 USA. */ 00019 00020 /* When included from os2compat.h we need all the original definitions */ 00021 #ifndef OS2_AWARE 00022 00023 #undef LIBDIR 00024 #define LIBDIR _nlos2_libdir 00025 extern char *_nlos2_libdir; 00026 00027 #undef LOCALEDIR 00028 #define LOCALEDIR _nlos2_localedir 00029 extern char *_nlos2_localedir; 00030 00031 #undef LOCALE_ALIAS_PATH 00032 #define LOCALE_ALIAS_PATH _nlos2_localealiaspath 00033 extern char *_nlos2_localealiaspath; 00034 00035 #endif 00036 00037 #undef HAVE_STRCASECMP 00038 #define HAVE_STRCASECMP 1 00039 #define strcasecmp stricmp 00040 #define strncasecmp strnicmp 00041 00042 /* We have our own getenv() which works even if library is compiled as DLL */ 00043 #define getenv _nl_getenv 00044 00045 /* Older versions of gettext used -1 as the value of LC_MESSAGES */ 00046 #define LC_MESSAGES_COMPAT (-1)