V3 PATCH: Undefine conflicting macro in std_cwchar.h

David Edelsohn dje@watson.ibm.com
Fri Nov 3 14:47:00 GMT 2000


	* include/c/bits/std_cwchar.h: Undefine macro that conflicts
	with function name defined in this file.

Index: std_cwchar.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/include/c/bits/std_cwchar.h,v
retrieving revision 1.2
diff -c -p -r1.2 std_cwchar.h
*** std_cwchar.h	2000/10/31 01:26:05	1.2
--- std_cwchar.h	2000/11/03 22:44:42
***************
*** 44,49 ****
--- 44,52 ----
  #pragma GCC system_header
  #include_next <wchar.h>
  
+ // Get rid of those macros defined in <wchar.h> in lieu of real functions.
+ #undef getwchar
+ 
  namespace std
  {
    using ::wint_t;


More information about the Libstdc++ mailing list