--- gigedit/trunk/src/gigedit/gigedit.cpp 2013/09/15 13:31:04 2470 +++ gigedit/trunk/src/gigedit/gigedit.cpp 2013/09/15 17:06:45 2471 @@ -229,7 +229,7 @@ Gtk::Main kit(argc, argv); -#ifdef __APPLE__ +#if HAVE_GETTEXT && defined(__APPLE__) // Gtk::Main binds the gtk locale to a possible non-existent // directory. If we have bundled gtk locale files, we rebind here, // after the Gtk::Main constructor. @@ -350,7 +350,7 @@ const char* argv_c[] = { "gigedit" }; char** argv = const_cast(argv_c); Gtk::Main main_loop(argc, argv); -#ifdef __APPLE__ +#if HAVE_GETTEXT && defined(__APPLE__) if (!gigedit_localedir.empty()) { bindtextdomain("gtk20", gigedit_localedir.c_str()); }