summaryrefslogtreecommitdiff
path: root/lib/localcharset.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-04-13 12:57:48 +0200
committerBruno Haible <bruno@clisp.org>2008-04-13 12:57:48 +0200
commit10d5e97ca2313cef35bcead91248fb76f634e0ad (patch)
tree1a3896d7afb632ea0192343de2e54bc167a1dd3e /lib/localcharset.c
parent8b61f0d60a6958a34fa727f97ae70b13fb758d61 (diff)
downloadgnulib-10d5e97ca2313cef35bcead91248fb76f634e0ad.tar.gz
Avoid warning on EMX.
Diffstat (limited to 'lib/localcharset.c')
-rw-r--r--lib/localcharset.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/localcharset.c b/lib/localcharset.c
index a0f7cca691..fb49519128 100644
--- a/lib/localcharset.c
+++ b/lib/localcharset.c
@@ -1,6 +1,6 @@
/* Determine a canonical name for the current locale's character encoding.
- Copyright (C) 2000-2006 Free Software Foundation, Inc.
+ Copyright (C) 2000-2006, 2008 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -34,7 +34,9 @@
#if defined __EMX__
/* Assume EMX program runs on OS/2, even if compiled under DOS. */
-# define OS2
+# ifndef OS2
+# define OS2
+# endif
#endif
#if !defined WIN32_NATIVE