mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
Update config.h
Add a static assertion implemented via an array
This commit is contained in:
parent
697312cae5
commit
1046e2192e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user