commit | e19601a1297dcd7b91239a4a3ded1b4feda1409c | [log] [tgz] |
---|---|---|
author | abat <abat@bigswitch.com> | Mon Mar 24 09:20:39 2014 -0700 |
committer | abat <abat@bigswitch.com> | Mon Mar 24 09:20:39 2014 -0700 |
tree | af878fc23a1d9729f06636291a70537c63e08490 | |
parent | f1710d16c82fa792f5a695b355f44877743f584e [diff] | |
parent | ddcbca7daeee552f003063cb3f538cc10ae1bbc6 [diff] |
Merge into master from pull request #235: loci: fix compilation with GCC <= 4.4 (https://github.com/floodlight/loxigen/pull/235)
diff --git a/c_gen/templates/loci_int.h b/c_gen/templates/loci_int.h index 01ad4a8..c57371a 100644 --- a/c_gen/templates/loci_int.h +++ b/c_gen/templates/loci_int.h
@@ -46,7 +46,7 @@ #include <loci/loci.h> -#ifdef __GNUC__ +#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) #define UNREACHABLE() __builtin_unreachable() #else #define UNREACHABLE()