]> code.delx.au - pulseaudio/commitdiff
Small fix for MacOSX compat
authorLennart Poettering <lennart@poettering.net>
Fri, 27 Mar 2009 13:37:58 +0000 (14:37 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 27 Mar 2009 13:37:58 +0000 (14:37 +0100)
Issue originally pointed out by Igor Zubkov.

src/pulsecore/core-util.c

index 0d243ee619861ccab5112ac9fcd86d681a9553a0..e5d8a2f4ea94eafdeabcffa05e5897b41f4ee72c 100644 (file)
@@ -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