diff options
author | Chris Robinson <[email protected]> | 2016-06-04 10:45:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-06-04 10:45:44 -0700 |
commit | 0477d6159974837ee01bbc7c74a65a3be5794cdd (patch) | |
tree | d69c5e5ad3133f05c5399b70c3cac87373cf59f5 /Alc/compat.h | |
parent | b2041a5ddfec78bbde1c63c8674614455ee31f93 (diff) |
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.
Diffstat (limited to 'Alc/compat.h')
-rw-r--r-- | Alc/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |