Author: rmottola
Date: Mon May 16 00:57:30 2016
New Revision: 39769

URL: http://svn.gna.org/viewcvs/gnustep?rev=39769&view=rev
Log:
move header inclusion up

Modified:
    apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.m

Modified: apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.m?rev=39769&r1=39768&r2=39769&view=diff
==============================================================================
--- apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.m       
(original)
+++ apps/projectcenter/trunk/Modules/Debuggers/ProjectCenter/PCDebugger.m       
Mon May 16 00:57:30 2016
@@ -21,6 +21,14 @@
 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
+#ifdef __MINGW32__
+#undef _WIN32_WINNT
+#define _WIN32_WINNT 0x0501 // Minimal target is Windows XP
+
+#include <windows.h>
+
+#endif
+
 #import <AppKit/AppKit.h>
 #import "PCDebugger.h"
 #import "PCDebuggerView.h"
@@ -29,14 +37,7 @@
 #import "PCDebuggerViewDelegateProtocol.h"
 #import "PipeDelegate.h"
 
-#ifdef __MINGW32__
-#undef _WIN32_WINNT
-#define _WIN32_WINNT 0x0501 // Minimal target is Windows XP
-
-#include <windows.h>
-#include <winbase.h>
-WINBASEAPI BOOL WINAPI DebugBreakProcess(HANDLE);
-#endif
+
 
 #ifndef NOTIFICATION_CENTER
 #define NOTIFICATION_CENTER [NSNotificationCenter defaultCenter]


_______________________________________________
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to