summaryrefslogtreecommitdiff
path: root/rts/win32/ConsoleHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/win32/ConsoleHandler.h')
-rw-r--r--rts/win32/ConsoleHandler.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/rts/win32/ConsoleHandler.h b/rts/win32/ConsoleHandler.h
index cd4a5447da..06af9dd0d0 100644
--- a/rts/win32/ConsoleHandler.h
+++ b/rts/win32/ConsoleHandler.h
@@ -2,8 +2,8 @@
* Console control handler support.
*
*/
-#ifndef WIN32_CONSOLEHANDLER_H
-#define WIN32_CONSOLEHANDLER_H
+
+#pragma once
/*
* Console control handlers lets an application handle Ctrl+C, Ctrl+Break etc.
@@ -60,5 +60,3 @@ extern void startSignalHandlers(Capability *cap);
extern int rts_waitConsoleHandlerCompletion(void);
#endif /* THREADED_RTS */
-
-#endif /* Win32_CONSOLEHANDLER_H */