diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -158,7 +158,10 @@ main_dependencies = [ }, { 'name': '--tvos', 'desc': 'tvOS environment', - 'func': check_statement('TargetConditionals.h', 'int x = TARGET_OS_TV;'), + 'func': check_statement( + ['TargetConditionals.h', 'assert.h'], + 'static_assert(TARGET_OS_TV, "TARGET_OS_TV defined to zero!")' + ), }, { 'name': '--egl-android', 'desc': 'Android EGL support', |