This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
V3 PATCH: Undefine conflicting macro in std_cwchar.h
- To: libstdc++ at sources dot redhat dot com
- Subject: V3 PATCH: Undefine conflicting macro in std_cwchar.h
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Fri, 03 Nov 2000 17:46:56 -0500
- cc: Mark Mitchell <mark at codesourcery dot com>
* 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;