# Copyright (C) 2007  Marcel Unbehaun <frostworks@gmx.de>
# Distributed under the same license as the game. See debian/copyright.

--- a/src/br/boot.d
+++ b/src/br/boot.d
@@ -7,6 +7,8 @@
 private Key key;
 private Mouse mouse;
 
+version (Win32_release) {
+
 private:
 import std.c.windows.windows;
 
@@ -38,6 +40,12 @@
 	gc_term();
 	return result;
 }
+} else {
+  // Boot as the general executable.
+  public int main(char[][] args) {
+    return user_start();
+  }
+}
 
 int user_start(){
 	double d;
