]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Not using c++11, go back to attribute
authorRoy Marples <roy@marples.name>
Wed, 6 Feb 2019 20:07:53 +0000 (20:07 +0000)
committerRoy Marples <roy@marples.name>
Wed, 6 Feb 2019 20:07:53 +0000 (20:07 +0000)
src/common.h

index f12f02a72a3c5a77acfde62bc0eb86de3726b56d..713dd1d326112a8d35da779f0f0f62bd74b6c02b 100644 (file)
 
 #ifndef __fallthrough
 # if __GNUC__ >= 7
-#  define __fallthrough [[fallthrough]]
+#  define __fallthrough __attribute__((fallthrough))
 # else
 #  define __fallthrough
 # endif