delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/09/08/13:29:55

Message-Id: <199809081729.RAA184144@out2.ibm.net>
From: "Mark E." <snowball3 AT usa DOT net>
To: djgpp-workers AT delorie DOT com
Date: Tue, 8 Sep 1998 12:32:01 +0000
MIME-Version: 1.0
Subject: Revised proposed patch to djtypes.h

--Message-Boundary-1041
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body

This version corrects a goof in checking for the GNU compiler 
version. Sorry about the revision.

Mark

-- 
Mark E. snowball3 AT usa DOT net
http://members.xoom.com/snowball3/


--Message-Boundary-1041
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Text from file 'djtypes.diff'

--- djtypes.h	Tue Sep  8 12:27:16 1998
+++ c:\temp\include\sys\djtypes.h	Sun Oct 30 01:22:34 1994
@@ -11,13 +11,6 @@
 #define __DJ_time_t	typedef unsigned int time_t;
 #define __DJ_uid_t	typedef int uid_t;
 #define __DJ_va_list	typedef void *va_list;
-
-#if defined(__cplusplus) && ( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
-// wchar_t is now a keyword in C++...
-#  define __DJ_wchar_t
-#else
-// ... but remains a typedef in C
-#  define __DJ_wchar_t    typedef int wchar_t;
-#endif
+#define __DJ_wchar_t	typedef int wchar_t;
 
 #endif

--Message-Boundary-1041--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019