From 90dc94a0ac3c7dd4e095c6b47c347e9f1022d9b3 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Thu, 5 Jul 2012 23:30:35 +0200 Subject: [PATCH] Portafix --- base/PCMain.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/base/PCMain.cpp b/base/PCMain.cpp index fc5759b1ef..d6c621e91d 100644 --- a/base/PCMain.cpp +++ b/base/PCMain.cpp @@ -28,7 +28,11 @@ // Simple implementations of System functions void SystemToast(const char *text) { - MessageBox(0, text, "Toast!", MB_ICONINFORMATION); +#ifdef _WIN32 + MessageBox(0, text, "Toast!", MB_ICONINFORMATION); +#else + puts(text); +#endif }