diff options
Diffstat (limited to 'include/X11/ICE/ICEmsg.h')
-rw-r--r-- | include/X11/ICE/ICEmsg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/X11/ICE/ICEmsg.h b/include/X11/ICE/ICEmsg.h index b6bad13..13e1509 100644 --- a/include/X11/ICE/ICEmsg.h +++ b/include/X11/ICE/ICEmsg.h @@ -34,7 +34,7 @@ Author: Ralph Mor, X Consortium #include <X11/ICE/ICEconn.h> #include <assert.h> -#ifndef static_assert +#if !defined(__cplusplus) && !defined(static_assert) #define static_assert(cond, msg) /* skip for non-C11 compilers */ #endif |