summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-04-02 20:12:15 +0100
committerPeter Powell <petpow@saberuk.com>2013-04-12 17:03:05 +0100
commit11cafc12d5440b67a9f676c9f6aa67840ca5399d (patch)
tree7c8eac3b1ad474fdaf42767bffee7c3c4b4cce48 /win/inspircd_win32wrapper.h
parenta5fe50aca04ca554d313e7361c571c6a497a9c4e (diff)
Tidy up source files:
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
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
-