adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-commits] CVS: adonthell/src gettext.h,1.2,1.3


From: Kai Sterker <address@hidden>
Subject: [Adonthell-commits] CVS: adonthell/src gettext.h,1.2,1.3
Date: Thu, 22 Aug 2002 11:16:30 -0400

Update of /cvsroot/adonthell/adonthell/src
In directory subversions:/tmp/cvs-serv12550/src

Modified Files:
        gettext.h 
Log Message:
UPDATED gettext to version 0.11.5


Index: gettext.h
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/gettext.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** gettext.h   7 Apr 2002 09:51:28 -0000       1.2
--- gettext.h   22 Aug 2002 15:16:28 -0000      1.3
***************
*** 28,31 ****
--- 28,41 ----
  #else
  
+ /* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which
+    chokes if dcgettext is defined as a macro.  So include it now, to make
+    later inclusions of <locale.h> a NOP.  We don't include <libintl.h>
+    as well because people using "gettext.h" will not include <libintl.h>,
+    and also including <libintl.h> would fail on SunOS 4, whereas <locale.h>
+    is OK.  */
+ #if defined(__sun)
+ # include <locale.h>
+ #endif
+ 
  /* Disabled NLS.
     The casts to 'const char *' serve the purpose of producing warnings





reply via email to

[Prev in Thread] Current Thread [Next in Thread]