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