Commit 50f13126 authored by Ivan Yossi's avatar Ivan Yossi 👌

Silence warning on undefined macro variables __STDC_VERSION__

parent c71c1dff
...@@ -20,9 +20,11 @@ ...@@ -20,9 +20,11 @@
* will be the same when ported to other languages. * will be the same when ported to other languages.
*/ */
#if ((__GNUC_STDC_INLINE__) || (__STDC_VERSION__ >= 199901L)) #if (defined (__STDC_VERSION__) || defined (__GNUC_STDC_INLINE__))
#include <stdint.h> #if ((__GNUC_STDC_INLINE__) || (__STDC_VERSION__ >= 199901L))
#define INLINE inline #include <stdint.h>
#define INLINE inline
#endif
#elif (defined (_MSC_VER) || defined (__GNUC_GNU_INLINE__)) #elif (defined (_MSC_VER) || defined (__GNUC_GNU_INLINE__))
#include <stdint.h> #include <stdint.h>
#define INLINE __inline #define INLINE __inline
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment