common: port: move filesystem related macros to filesystem module, try to include less globally for faster builds

This commit is contained in:
Alibek Omarov
2025-10-08 05:03:29 +05:00
parent 0a5a081a9d
commit 3d132e0e83
7 changed files with 112 additions and 121 deletions

View File

@@ -22,7 +22,8 @@ GNU General Public License for more details.
#include <stdarg.h>
#if XASH_POSIX
#define XASHLIB "libxash." OS_LIB_EXT
#include <dlfcn.h>
#define XASHLIB OS_LIB_PREFIX "xash." OS_LIB_EXT
#define FreeLibrary( x ) dlclose( x )
#elif XASH_WIN32
#include <shellapi.h> // CommandLineToArgvW