From 0477d6159974837ee01bbc7c74a65a3be5794cdd Mon Sep 17 00:00:00 2001 From: Chris Robinson <chris.kcat@gmail.com> Date: Sat, 4 Jun 2016 10:45:44 -0700 Subject: Look in the executable's dir for another config file On Windows it'll look for alsoft.ini, and elsewhere is alsoft.conf. This applies after the user-local settings and before ALSOFT_CONF. --- Alc/compat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Alc/compat.h') diff --git a/Alc/compat.h b/Alc/compat.h index f54ef9ce..0443692a 100644 --- a/Alc/compat.h +++ b/Alc/compat.h @@ -1,6 +1,8 @@ #ifndef AL_COMPAT_H #define AL_COMPAT_H +#include "alstring.h" + #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN @@ -23,6 +25,8 @@ FILE *al_fopen(const char *fname, const char *mode); #endif +al_string GetProcPath(void); + #ifdef HAVE_DYNLOAD void *LoadLib(const char *name); void CloseLib(void *handle); -- cgit v1.2.3