-added '-pthread' to arguments in 'meson.build' for GDC

This commit is contained in:
Mergul 2021-03-24 19:29:04 +01:00
parent 70a5388820
commit 24ef63d505
2 changed files with 5 additions and 7 deletions

View file

@ -58,6 +58,11 @@ if betterC_opt
endif
endif
if comp_id == 'gcc'
args+='-pthread'
link_args+='-pthread'
endif
add_global_arguments(args, language : 'd')
add_global_link_arguments(link_args, language : 'd')

View file

@ -3233,15 +3233,8 @@ export struct EntityManager
{
export void update() nothrow @nogc
{
//(cast(SytemFuncType) system.m_update)(this);
if(!system.m_empty)
{
// Sys* s = cast(Sys*) system.m_system_pointer;
//Sys.EntitiesData input_data;
// EntityInfo* info = info; //block.type_info;
// System* system = system;
EntitiesBlock* block;
if (first_block)
block = first_block;