summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-04-30 23:11:31 +0100
committerCarl Hetherington <cth@carlh.net>2015-04-30 23:11:31 +0100
commitb76a5ae9a72c50ef0d1261b26babef5b916c4751 (patch)
treea12680a2ac24194b29350e8c08d174a4210c22ad /src
parentc9829855c64c7882130ce992f2763cb565c05b1d (diff)
Try to fix OS X build.
Diffstat (limited to 'src')
-rw-r--r--src/wx/wx_util.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc
index ea8255f81..e9c07c91f 100644
--- a/src/wx/wx_util.cc
+++ b/src/wx/wx_util.cc
@@ -271,11 +271,9 @@ dcpomatic_setup_i18n ()
locale->AddCatalogLookupPathPrefix (std_to_wx (mo_path().string()));
#endif
-#ifdef DCPOMATIC_POSIX
+#ifdef DCPOMATIC_LINUX
locale->AddCatalogLookupPathPrefix (LINUX_LOCALE_PREFIX);
-#endif
-#ifdef DCPOMATIC_LINUX
/* We have to include the wxWidgets .mo in our distribution,
so we rename it to avoid clashes with any other installation
of wxWidgets.