annotate intl/os2compat.h @ 1061:91b6c26ba827 trunk

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