aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-13 04:40:20 -0800
committerChris Robinson <[email protected]>2018-01-13 04:40:20 -0800
commitc031b3cc6a8bb1525b59a850d3d8c6e4541256ce (patch)
tree59855fe52ead07739f0bddc67da0d2ff8439c268 /OpenAL32/Include/alMain.h
parentbbc4ebecabc9417f92fbc9a185edf7360f1a8b6e (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/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h8
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;