From 790b58477460c3f73c723772a3639a97be410087 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Mon, 18 Dec 2017 17:52:51 +0000 Subject: Gem 56872f9347ef666944a3af62bbfda36a8c9f21b0 osx/x86_64 built 'master:56872f9347ef666944a3af62bbfda36a8c9f21b0' for osx/x86_64 --- Gem/develop/include/Gem/Utils/nop.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Gem/develop/include/Gem/Utils/nop.h') diff --git a/Gem/develop/include/Gem/Utils/nop.h b/Gem/develop/include/Gem/Utils/nop.h index 8431ef2..75875ef 100644 --- a/Gem/develop/include/Gem/Utils/nop.h +++ b/Gem/develop/include/Gem/Utils/nop.h @@ -15,10 +15,11 @@ LOG #ifndef _INCLUDE__GEM_UTILS_NOP_H_ #define _INCLUDE__GEM_UTILS_NOP_H_ -#if __STDC_VERSION__ >= 199901L -# define nop(...) +#if __cplusplus > 199711L || __STDC_VERSION__ >= 199901L +# define nop(...) do {} while (0) #else -# define nop +static inline void gem__nop(...) { ; } +# define nop gem__nop #endif static inline void gem__nop_post(void) { ; } -- cgit v1.2.1