From 76a90f7d49e9878d7c7aa0768c0301a1225d05a9 Mon Sep 17 00:00:00 2001 From: obrien Date: Tue, 9 Jul 2002 05:13:30 +0000 Subject: Don't define wchar_t if we are a C++ compiler. PR: 31864, 40084 --- include/inttypes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/inttypes.h') diff --git a/include/inttypes.h b/include/inttypes.h index 6efcd81..cd59bed 100644 --- a/include/inttypes.h +++ b/include/inttypes.h @@ -32,10 +32,12 @@ #include #include +#ifndef __cplusplus #ifdef _BSD_WCHAR_T_ typedef _BSD_WCHAR_T_ wchar_t; #undef _BSD_WCHAR_T_ #endif +#endif typedef struct { intmax_t quot; /* Quotient. */ -- cgit v1.1