This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

V3 PATCH: Undefine conflicting macro in std_cwchar.h


	* 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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]