Mercurial > hg > octave-kai > gnulib-hg
diff lib/stdint_.h @ 7055:5bea7b615db5
Get the C++ macros/conditionals right.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 27 Jul 2006 12:54:05 +0000 (2006-07-27) |
parents | db0082829637 |
children | a1deb716fd26 |
line wrap: on
line diff
--- a/lib/stdint_.h +++ b/lib/stdint_.h @@ -394,8 +394,12 @@ #define WINT_MAX \ _STDINT_MAX (@HAVE_SIGNED_WINT_T@, @BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) +#endif /* !defined __cplusplus || defined __STDC_LIMIT_MACROS */ + /* 7.18.4. Macros for integer constants */ +#if ! defined __cplusplus || defined __STDC_CONSTANT_MACROS + /* 7.18.4.1. Macros for minimum-width integer constants */ /* According to ISO C 99 Technical Corrigendum 1 */