[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Os2
From: |
Bruno Haible |
Subject: |
Re: Os2 |
Date: |
Sun, 13 Apr 2008 14:54:59 +0200 |
User-agent: |
KMail/1.5.4 |
Elbert Pol wrote:
> localcharset.c:37:1: warning: "OS2" redefined
> <command line>:20:1: warning: this is the location of the previous definition
I'm fixing this warning:
2008-04-13 Bruno Haible <address@hidden>
* lib/localcharset.c (OS2): Don't redefine if already defined.
Reported by Elbert Pol <address@hidden>.
--- lib/localcharset.c.orig 2008-04-13 12:57:21.000000000 +0200
+++ lib/localcharset.c 2008-04-13 12:54:50.000000000 +0200
@@ -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
- Fwd: Os2, Bruno Haible, 2008/04/12
- Os2, Elbert Pol, 2008/04/12
- Re: Os2, Bruno Haible, 2008/04/12
- Re: Os2, Elbert Pol, 2008/04/13
- Re: Os2, Elbert Pol, 2008/04/13
- Re: Os2,
Bruno Haible <=
- Re: Os2, Bruno Haible, 2008/04/13
- Re: Os2, Simon Josefsson, 2008/04/13
- Re: Os2, Simon Josefsson, 2008/04/13
- Re: Os2, Bruno Haible, 2008/04/13
- Re: Os2, Simon Josefsson, 2008/04/13
- Re: Os2, Bruno Haible, 2008/04/13
- Re: Os2, Elbert Pol, 2008/04/13
- Re: Os2, Bruno Haible, 2008/04/13
- Re: Os2, Elbert Pol, 2008/04/14
- Re: Os2, Bruno Haible, 2008/04/14