mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-19 11:09:42 +00:00
be more C89-friendly
This commit is contained in:
1 parent
ddf3ba8a15
commit
90623492b7
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -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
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user