Skip to content

Commit ce5dd46

Browse files
committed
fix-wchar
1 parent 78fb7cf commit ce5dd46

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

thirdparty/intel-decimal-float/v2.2.0/src/bid_functions.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@
4343

4444
// Fix system header issue on Sun solaris and define required type by ourselves
4545
#if !defined(_WCHAR_T) && !defined(_WCHAR_T_DEFINED) && !defined(__QNX__)
46-
//typedef int wchar_t;
47-
#endif
46+
#ifndef __cplusplus
47+
typedef int wchar_t;
48+
#endif
4849
#endif
4950

5051

0 commit comments

Comments
 (0)