Try to fix OS X build.
authorCarl Hetherington <cth@carlh.net>
Thu, 30 Apr 2015 22:11:31 +0000 (23:11 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 30 Apr 2015 22:11:31 +0000 (23:11 +0100)
src/wx/wx_util.cc

index ea8255f8169a9ae7fbddf01c5e771ed1dbc7bac1..e9c07c91fe7bf2a566532f328ed7681d000e1d8b 100644 (file)
@@ -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.