Permalink
Browse files

Fixed building on MacOS X

  • Loading branch information...
1 parent a731081 commit 0e2091703be41c51fc83c3dc0120e6d35c94594f @khorben khorben committed Dec 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mount.c
View
@@ -480,7 +480,7 @@ static int _mount_do_mount(char const * type, int flags, char const * special,
# else
if(mount(type, node, flags, data) == 0)
# endif
-#elif defined(__FreeBSD__) /* FreeBSD */
+#elif defined(__APPLE__) || defined(__FreeBSD__) /* FreeBSD */
if(mount(type, node, flags, data) == 0)
#else
struct { char const * fspec; } * d = data;

0 comments on commit 0e20917

Please sign in to comment.