oscar-broman / samp-weapon-config

A more consistent and responsive damage system with many new features
Apache License 2.0
93 stars 83 forks source link

More proper omp support #286

Closed NexiusTailer closed 2 months ago

NexiusTailer commented 2 months ago

This PR makes compile-time checks for omp libs only for considering new omp natives (which obviously will be declared only if a user picked the omp libraries set). At the same time, any omp server things which can be faced even keep using samp standart libs wouldn't be considered with the old way of omp detection. so now all those things will be either applied and considered by default without extra #if defined _INC_open_mp checks, or (in case with obtaining config variables at init to get the current lagcomp mode) it will be checked by the runtime check.