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:
bdc464a
)
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
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Mon, 16 May 2011 07:04:31 +0000
(09:04 +0200)
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)
{