diff --git a/include/pocketpy/config.h b/include/pocketpy/config.h index 1c9f5151..fbb18911 100644 --- a/include/pocketpy/config.h +++ b/include/pocketpy/config.h @@ -65,3 +65,8 @@ #else #define PK_PLATFORM_SEP '/' #endif + +//If missing static_assert +#ifndef static_assert +#define static_assert(x, msg) int static_assert(int static_assert[(x)?1:-1]) +#endif