diff options
author | Chris Robinson <[email protected]> | 2018-01-13 04:40:20 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-13 04:40:20 -0800 |
commit | c031b3cc6a8bb1525b59a850d3d8c6e4541256ce (patch) | |
tree | 59855fe52ead07739f0bddc67da0d2ff8439c268 /OpenAL32/Include | |
parent | bbc4ebecabc9417f92fbc9a185edf7360f1a8b6e (diff) |
Avoid fixed-PATH_MAX-size buffers
Windows still needs to use MAX_PATH in a couple places, but that macro's
guaranteed there.
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 60a7daca..e4f5df74 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -236,14 +236,6 @@ typedef ALuint64SOFT ALuint64; #define DECL_VLA(T, _name, _size) T *_name = alloca((_size) * sizeof(T)) #endif -#ifndef PATH_MAX -#ifdef MAX_PATH -#define PATH_MAX MAX_PATH -#else -#define PATH_MAX 4096 -#endif -#endif - static const union { ALuint u; |