summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-06-28 14:40:27 +0100
committerCarl Hetherington <cth@carlh.net>2013-06-28 14:40:27 +0100
commit1f6db0a540a160911cd6c73259a807bf0ba36be4 (patch)
treecc91ba30f3dba035975c90e3da047bc4c0c0f4e6 /src/lib
parent0efe8420071f0184d668bc363a1096b8ffc33b2d (diff)
A few OS X build/script fixes.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cross.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc
index 86146c1b1..86b657432 100644
--- a/src/lib/cross.cc
+++ b/src/lib/cross.cc
@@ -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;