@@ -120,17 +120,13 @@ fprintf(stderr, "Failed to ensure condition in " \ __FILE__ ":%d:\n" #cond "\n", __LINE__); \ abort(); \ } -#if __STDC_VERSION__ >= 201112L -# /* C11 compiler, but old libc */ -# ifndef static_assert -# define static_assert _Static_assert -# endif -#else -# define static_assert assert +#if __STDC_VERSION__ >= 201112L && !defined(static_assert) +/* C11 compiler, but old libc */ +# define static_assert _Static_assert #endif #if !defined(_WIN32) && !defined(__DJGPP__) # define OF_PATH_DELIMITER '/' # define OF_PATH_DELIMITER_STRING @"/"