Blame intl/os2compat.h

Packit Service a721b1
/* OS/2 compatibility defines.
Packit Service a721b1
   This file is intended to be included from config.h
Packit Service a721b1
   Copyright (C) 2001-2002 Free Software Foundation, Inc.
Packit Service a721b1
Packit Service a721b1
   This program is free software; you can redistribute it and/or modify it
Packit Service a721b1
   under the terms of the GNU Library General Public License as published
Packit Service a721b1
   by the Free Software Foundation; either version 2, or (at your option)
Packit Service a721b1
   any later version.
Packit Service a721b1
Packit Service a721b1
   This program is distributed in the hope that it will be useful,
Packit Service a721b1
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service a721b1
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service a721b1
   Library General Public License for more details.
Packit Service a721b1
Packit Service a721b1
   You should have received a copy of the GNU Library General Public
Packit Service a721b1
   License along with this program; if not, write to the Free Software
Packit Service a721b1
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
Packit Service a721b1
   USA.  */
Packit Service a721b1
Packit Service a721b1
/* When included from os2compat.h we need all the original definitions */
Packit Service a721b1
#ifndef OS2_AWARE
Packit Service a721b1
Packit Service a721b1
#undef LIBDIR
Packit Service a721b1
#define LIBDIR			_nlos2_libdir
Packit Service a721b1
extern char *_nlos2_libdir;
Packit Service a721b1
Packit Service a721b1
#undef LOCALEDIR
Packit Service a721b1
#define LOCALEDIR		_nlos2_localedir
Packit Service a721b1
extern char *_nlos2_localedir;
Packit Service a721b1
Packit Service a721b1
#undef LOCALE_ALIAS_PATH
Packit Service a721b1
#define LOCALE_ALIAS_PATH	_nlos2_localealiaspath
Packit Service a721b1
extern char *_nlos2_localealiaspath;
Packit Service a721b1
Packit Service a721b1
#endif
Packit Service a721b1
Packit Service a721b1
#undef HAVE_STRCASECMP
Packit Service a721b1
#define HAVE_STRCASECMP 1
Packit Service a721b1
#define strcasecmp stricmp
Packit Service a721b1
#define strncasecmp strnicmp
Packit Service a721b1
Packit Service a721b1
/* We have our own getenv() which works even if library is compiled as DLL */
Packit Service a721b1
#define getenv _nl_getenv
Packit Service a721b1
Packit Service a721b1
/* Older versions of gettext used -1 as the value of LC_MESSAGES */
Packit Service a721b1
#define LC_MESSAGES_COMPAT (-1)