diff options
author | tcsullivan <tullivan99@gmail.com> | 2019-08-25 16:08:47 -0400 |
---|---|---|
committer | tcsullivan <tullivan99@gmail.com> | 2019-08-25 16:08:47 -0400 |
commit | efeb51e163be3f4110b9dad771bee1f3dc814333 (patch) | |
tree | e23f742895a85ecb8d860cd057fe5fe571428890 /lib/entityx/build/CMakeFiles/feature_tests.c | |
parent | be36802aee32566f08f850480f3f950181fd8f29 (diff) |
added entityx
Diffstat (limited to 'lib/entityx/build/CMakeFiles/feature_tests.c')
-rw-r--r-- | lib/entityx/build/CMakeFiles/feature_tests.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/entityx/build/CMakeFiles/feature_tests.c b/lib/entityx/build/CMakeFiles/feature_tests.c new file mode 100644 index 0000000..83e86dd --- /dev/null +++ b/lib/entityx/build/CMakeFiles/feature_tests.c @@ -0,0 +1,34 @@ + + const char features[] = {"\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 +"1" +#else +"0" +#endif +"c_function_prototypes\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +"1" +#else +"0" +#endif +"c_restrict\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L +"1" +#else +"0" +#endif +"c_static_assert\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +"1" +#else +"0" +#endif +"c_variadic_macros\n" + +}; + +int main(int argc, char** argv) { (void)argv; return features[argc]; } |