aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-08-19 12:59:40 -0700
committerChris Robinson <[email protected]>2009-08-19 12:59:40 -0700
commit276ee63b9990c7fc82da51fb685d6687d1b3da28 (patch)
tree745f2ae5705352656df0fb1b81f42869128ff875
parent487f0dde7593144ceabd817306500465caf7602a (diff)
Define PATH_MAX if it isn't already
-rw-r--r--Alc/pulseaudio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c
index 3eac26cb..afb3ee6d 100644
--- a/Alc/pulseaudio.c
+++ b/Alc/pulseaudio.c
@@ -83,6 +83,10 @@ MAKE_FUNC(pa_stream_disconnect);
MAKE_FUNC(pa_threaded_mainloop_lock);
#undef MAKE_FUNC
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
typedef struct {
ALCdevice *device;