be more C89-friendly

This commit is contained in:
Sergio R. Caprile 2024-07-08 15:00:41 -03:00
parent ddf3ba8a15
commit 90623492b7
2 changed files with 4 additions and 4 deletions

View File

@ -1965,11 +1965,11 @@ extern "C" {
if possible, carefully pick your associated data.
*/
// Make sure we are either nested in C++ or running in a C99+ compiler
/* Make sure we are either nested in C++ or running in a C99+ compiler
#if !defined(__cplusplus) && !defined(_MSC_VER) && \
(!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L)
#error "C99 or newer required"
#endif
#endif */
// #if CHAR_BIT > 8
// # error "Systems without native octals not suppoted"

View File

@ -26,11 +26,11 @@ extern "C" {
if possible, carefully pick your associated data.
*/
// Make sure we are either nested in C++ or running in a C99+ compiler
/* Make sure we are either nested in C++ or running in a C99+ compiler
#if !defined(__cplusplus) && !defined(_MSC_VER) && \
(!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L)
#error "C99 or newer required"
#endif
#endif */
// #if CHAR_BIT > 8
// # error "Systems without native octals not suppoted"