#include <string>
-#if defined(_WIN32)
+#if PLATFORM_WIN32
#include <windows.h>
-#elif WITH_GTK
+#elif WITH_GUI_GTK
#include <gtk/gtk.h>
-#elif WITH_QT4
+#elif WITH_GUI_QT4
#include <QApplication>
#include <QIcon>
#include <QMessageBox>
break;
}
-#if defined(_WIN32)
+#if PLATFORM_WIN32
int icon_type;
switch (type)
MessageBox(0, (text1 + "\n" + text2).c_str(), title.c_str(),
MB_OK | icon_type);
-#elif WITH_GTK
+#elif WITH_GUI_GTK
int argc = 0;
char** argv;
// FIXME - this doesn't seem to actually remove the window from the
// screen when it closes
-#elif WITH_QT4
+#elif WITH_GUI_QT4
int argc = 0;
char** argv;