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