Mail Archives: djgpp-workers/1999/04/06/10:48:34
This is the locale.h patch I had paired with the tcsetatr.c patch. This
fixes the redefinition error when including <locale.h> in C++.
*** include/locale.h.orig Sun Aug 31 16:43:14 1997
--- include/locale.h Tue Mar 30 18:30:34 1999
***************
*** 15,20 ****
--- 15,23 ----
#define LC_MONETARY 0x04
#define LC_NUMERIC 0x08
#define LC_TIME 0x10
+
+ /* Some programs think they know better... */
+ #undef NULL
#define NULL 0
struct lconv {
---
Mark Elbrecht, snowball3 AT usa DOT net
http://snowball.digitalspace.net/
- Raw text -