Message-Id: <199904061447.OAA59644@out1.ibm.net> From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Tue, 6 Apr 1999 10:47:57 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: locale.h patch X-mailer: Pegasus Mail for Win32 (v3.01d) Reply-To: djgpp-workers AT delorie DOT com This is the locale.h patch I had paired with the tcsetatr.c patch. This fixes the redefinition error when including 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/