Linux compile fix and updated COMPILING
[xonotic/netradiant.git] / radiant / stacktrace.cpp
index 850556a22a37d5ee18c0c25702d3ef1c4e33c235..7c75db423597a7afd6b90dc64cc5169264ae9d86 100644 (file)
@@ -309,8 +309,10 @@ void write_stack_trace(TextOutputStream& outputStream)
 }
 
 #else
+#if defined (WIN32)
 void write_stack_trace(TextOutputStream& outputStream)
 {
        outputStream << "\nStacktrace is disabled in release-builds\n";
 }
 #endif
+#endif