A few OS X build/script fixes.
[dcpomatic.git] / src / lib / cross.cc
index 86146c1b1797fba6387aa9d4f4bdbdaa6714d68b..86b6574322076d0ad530a79291fdf215e5221841 100644 (file)
@@ -22,7 +22,7 @@
 #include "cross.h"
 #include "compose.hpp"
 #include "log.h"
-#ifdef DVDOMATIC_POSIX
+#ifdef DVDOMATIC_LINUX
 #include <unistd.h>
 #include <mntent.h>
 #endif
@@ -165,7 +165,7 @@ mount_info ()
 {
        list<pair<string, string> > m;
        
-#ifdef DVDOMATIC_POSIX 
+#ifdef DVDOMATIC_LINUX
        FILE* f = setmntent ("/etc/mtab", "r");
        if (!f) {
                return m;