alliedmodders / metamod-source

Metamod:Source - C++ Plugin Environment and Detour Library for the Source Engine
http://www.metamodsource.net/
Other
370 stars 84 forks source link

Add missing "LINUX" macro #149

Closed vanz666 closed 8 months ago

vanz666 commented 8 months ago

I found that the "LINUX" macro is not defined during compilation, although it is used in some places in the sdk. Also when looking at the linux_sdk/Makefile in the sdk I saw that it was defined there. Perhaps we should define it here and in other projects.

OS: Ubuntu 20.04.6 LTS

Compiler: clang version 10.0.0-4ubuntu1 Target: x86_64-pc-linux-gnu Thread model: posix

psychonic commented 8 months ago

Thanks