projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2f1983
)
pulse: Define PATH_MAX if it isn't defined
author
Pino Toscano
<toscano.pino@tiscali.it>
Mon, 16 May 2011 07:04:31 +0000
(09:04 +0200)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Wed, 15 Jun 2011 20:07:07 +0000
(21:07 +0100)
GNU Hurd for example doesn't define it.
ext/pulse/pulseutil.c
patch
|
blob
|
history
diff --git
a/ext/pulse/pulseutil.c
b/ext/pulse/pulseutil.c
index
c779e1a
..
058f2fb
100644
(file)
--- a/
ext/pulse/pulseutil.c
+++ b/
ext/pulse/pulseutil.c
@@
-120,6
+120,11
@@
gst_pulse_fill_sample_spec (GstRingBufferSpec * spec, pa_sample_spec * ss)
return TRUE;
}
+/* PATH_MAX is not defined everywhere, e.g. on GNU Hurd */
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
gchar *
gst_pulse_client_name (void)
{