Cleaner way to enable ptrcall

This commit is contained in:
Juan Linietsky 2016-06-26 11:59:25 -03:00
parent f31a6d26f1
commit fb9d1498bf
2 changed files with 5 additions and 1 deletions

View File

@ -77,7 +77,7 @@ env_base.android_manifest_chunk=""
env_base.android_permission_chunk="" env_base.android_permission_chunk=""
env_base.android_appattributes_chunk="" env_base.android_appattributes_chunk=""
env_base.disabled_modules=[] env_base.disabled_modules=[]
env_base.use_ptrcall=False
env_base.split_drivers=False env_base.split_drivers=False
@ -313,6 +313,9 @@ if selected_platform in platform_list:
sys.modules.pop('config') sys.modules.pop('config')
if (env.use_ptrcall):
env.Append(CPPFLAGS=['-DPTRCALL_ENABLED']);
if (env['musepack']=='yes'): if (env['musepack']=='yes'):
env.Append(CPPFLAGS=['-DMUSEPACK_ENABLED']); env.Append(CPPFLAGS=['-DMUSEPACK_ENABLED']);

View File

@ -296,5 +296,6 @@ struct _GlobalLock {
#define __STR(m_index) __STRX(m_index) #define __STR(m_index) __STRX(m_index)
#endif /* typedefs.h */ #endif /* typedefs.h */