summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-04-12 09:04:01 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-04-12 09:04:01 -0700
commitdebedfeb0abb398443fa33452f486c6cc80bb832 (patch)
tree7c8eac3b1ad474fdaf42767bffee7c3c4b4cce48 /win/inspircd_win32wrapper.h
parenta5fe50aca04ca554d313e7361c571c6a497a9c4e (diff)
parent11cafc12d5440b67a9f676c9f6aa67840ca5399d (diff)
Merge pull request #461 from SaberUK/master+header-cleanup
Tidy up source files.
Diffstat (limited to 'win/inspircd_win32wrapper.h')
-rw-r--r--win/inspircd_win32wrapper.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h
index 75404ef8b..9b18715cd 100644
--- a/win/inspircd_win32wrapper.h
+++ b/win/inspircd_win32wrapper.h
@@ -19,13 +19,11 @@
*/
+#pragma once
+
/* Windows Port
Wrapper Functions/Definitions
By Burlex */
-
-#ifndef INSPIRCD_WIN32WRAPPER_H
-#define INSPIRCD_WIN32WRAPPER_H
-
/*
* Starting with PSAPI version 2 for Windows 7 and Windows Server 2008 R2, this function is defined as K32GetProcessMemoryInfo in Psapi.h and exported
* in Kernel32.lib and Kernel32.dll. However, you should always call this function as GetProcessMemoryInfo. To ensure correct resolution of symbols
@@ -200,6 +198,3 @@ private:
char szErrorString[500];
DWORD dwErrorCode;
};
-
-#endif
-