From 219c0464861f1f377ea5513a48c6e27e8fe48130 Mon Sep 17 00:00:00 2001
From: Andreas Schenk <andreas_schenk@hms.harvard.edu>
Date: Fri, 1 Feb 2013 11:03:20 -0500
Subject: [PATCH] changed gosty to not show terminal window in Windows

---
 modules/gui/src/gosty.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/gui/src/gosty.cc b/modules/gui/src/gosty.cc
index 06fc2a5dd..ad13d07b3 100644
--- a/modules/gui/src/gosty.cc
+++ b/modules/gui/src/gosty.cc
@@ -225,6 +225,9 @@ public:
 
 }
 
+#ifdef _MSC_VER
+  #pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
+#endif
 // initialise gosty - the graphical open structure interpreter
 int main(int argc, char** argv)
 {
-- 
GitLab