summaryrefslogtreecommitdiff
path: root/rts/win32/WorkQueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/win32/WorkQueue.h')
-rw-r--r--rts/win32/WorkQueue.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/rts/win32/WorkQueue.h b/rts/win32/WorkQueue.h
index eb0b601df3..4dbfcd40d3 100644
--- a/rts/win32/WorkQueue.h
+++ b/rts/win32/WorkQueue.h
@@ -6,8 +6,8 @@
*
*/
-#ifndef WIN32_WORKQUEUE_H
-#define WIN32_WORKQUEUE_H
+#pragma once
+
#include <windows.h>
/* This is a fixed-size queue. */
@@ -34,5 +34,3 @@ extern HANDLE GetWorkQueueHandle ( WorkQueue* pq );
extern BOOL GetWork ( WorkQueue* pq, void** ppw );
extern BOOL FetchWork ( WorkQueue* pq, void** ppw );
extern int SubmitWork ( WorkQueue* pq, void* pw );
-
-#endif /* WIN32_WORKQUEUE_H */