be more C89-friendly

This commit is contained in:
Sergio R. Caprile committed 2024-07-08 16:23:41 -03:00
1 parent ddf3ba8a15
commit 90623492b7
2 files changed
+4 -4

No files matched your search

+2 -2
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"
+2 -2
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"