summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Bhakkad <mohit.bhakkad@gmail.com>2018-12-12 22:32:47 +0000
committerDmitry Bogatov <KAction@debian.org>2018-12-12 22:32:47 +0000
commit55daafa742c01df85b29652fcc87052cf8b9b555 (patch)
tree4cdcbaa47a8561924ec0e7a2ad53ff2a5ec616c1
parent5a0cb2512271dd7e6307ef301b47018f6a7ed206 (diff)
fix FTBFS with gcc-5 and clang.
Bug-Debian: https://bugs.debian.org/777914 Gbp-Pq: Name 170_undeclared_extension.patch
-rw-r--r--listing.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/listing.h b/listing.h
index 91dfac0..9bee653 100644
--- a/listing.h
+++ b/listing.h
@@ -47,9 +47,9 @@ typedef unsigned int uint;
# ifndef asm
# define asm __asm__
# endif
-# ifndef extension
-# define extension __extension__
-# endif
+#endif
+#ifndef extension
+# define extension __extension__
#endif
#ifndef attribute
# define attribute(attr) __attribute__(attr)