Add USE_ARCHLESS_FILENAMES

This commit is contained in:
Tim Angus committed 2025-08-01 22:36:51 +01:00
1 parent cb11c5e339
commit d07bf88ce9
5 files changed
+42 -11

No files matched your search

+1 -1
View File
@@ -1456,7 +1456,7 @@ int FS_FindVM(void **startSearch, char *found, int foundlen, const char *name, i
Com_Error(ERR_FATAL, "Filesystem call made without initialization");
if(enableDll)
Com_sprintf(dllName, sizeof(dllName), "%s" ARCH_STRING DLL_EXT, name);
Com_sprintf(dllName, sizeof(dllName), "%s" ARCH_DLL_EXT, name);
Com_sprintf(qvmName, sizeof(qvmName), "vm/%s.qvm", name);
+6
View File
@@ -406,6 +406,12 @@ float FloatSwap (const float *f);
#define PLATFORM_STRING OS_STRING "-" ARCH_STRING "-debug"
#endif
#ifdef USE_ARCHLESS_FILENAMES
#define ARCH_DLL_EXT DLL_EXT
#else
#define ARCH_DLL_EXT ARCH_STRING DLL_EXT
#endif
#endif
#endif