changeset 4360:b3e8d5e7d5ed draft

Not using c++11, go back to attribute
author Roy Marples <roy@marples.name>
date Wed, 06 Feb 2019 20:07:53 +0000
parents 4204209c69b7
children 08ce825a4c2c
files src/common.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/common.h	Wed Feb 06 20:05:52 2019 +0000
+++ b/src/common.h	Wed Feb 06 20:07:53 2019 +0000
@@ -132,7 +132,7 @@
 
 #ifndef __fallthrough
 # if __GNUC__ >= 7
-#  define __fallthrough [[fallthrough]]
+#  define __fallthrough __attribute__((fallthrough))
 # else
 #  define __fallthrough
 # endif