summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index d92b06ac34..a94691d447 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -139,15 +139,13 @@ extern INLINE double U64_TO_DBL(uint64_t x) {
#ifdef __GNUC__
#define STMT_BEGIN (void) ({
#define STMT_END })
-#else
-#if defined(sun) || defined(__sun__)
+#elif defined(sun) || defined(__sun__)
#define STMT_BEGIN if (1) {
#define STMT_END } else STMT_NIL
#else
#define STMT_BEGIN do {
#define STMT_END } while (0)
#endif
-#endif
/* ===== String compatibility */
#ifdef MS_WINDOWS