summaryrefslogtreecommitdiffstats
path: root/src/pulsecore
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-03-27 14:37:58 +0100
committerLennart Poettering <lennart@poettering.net>2009-03-27 14:37:58 +0100
commit87d63b19a3f35650536c3595cf89145d61a052ca (patch)
tree29d522e71f58921fa9341bdcfacd392ea6a43cd2 /src/pulsecore
parentdb714bfea6ccf7be887ddf1f41b084433304fd9d (diff)
Small fix for MacOSX compat
Issue originally pointed out by Igor Zubkov.
Diffstat (limited to 'src/pulsecore')
-rw-r--r--src/pulsecore/core-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c
index 0d243ee6..e5d8a2f4 100644
--- a/src/pulsecore/core-util.c
+++ b/src/pulsecore/core-util.c
@@ -2617,7 +2617,7 @@ char *pa_realpath(const char *path) {
return NULL;
}
-#ifndef __GLIBC__
+#if !defined(__GLIBC__) && !defined(__APPLE__)
#error "It's not clear whether this system supports realpath(..., NULL) like GNU libc does. If it doesn't we need a private version of realpath() here."
#endif