diff options
Diffstat (limited to '')
| -rw-r--r-- | src/common/common.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/common/common.h b/src/common/common.h index 09027cae1..cb69eabe4 100644 --- a/src/common/common.h +++ b/src/common/common.h | |||
| @@ -2,15 +2,14 @@ | |||
| 2 | // Licensed under GPLv2 | 2 | // Licensed under GPLv2 |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #ifndef _COMMON_H_ | 5 | #pragma once |
| 6 | #define _COMMON_H_ | ||
| 7 | 6 | ||
| 8 | // DO NOT EVER INCLUDE <windows.h> directly _or indirectly_ from this file | 7 | // DO NOT EVER INCLUDE <windows.h> directly _or indirectly_ from this file |
| 9 | // since it slows down the build a lot. | 8 | // since it slows down the build a lot. |
| 10 | 9 | ||
| 11 | #include <stdlib.h> | 10 | #include <cstdlib> |
| 12 | #include <stdio.h> | 11 | #include <cstdio> |
| 13 | #include <string.h> | 12 | #include <cstring> |
| 14 | 13 | ||
| 15 | // Force enable logging in the right modes. For some reason, something had changed | 14 | // Force enable logging in the right modes. For some reason, something had changed |
| 16 | // so that debugfast no longer logged. | 15 | // so that debugfast no longer logged. |
| @@ -200,5 +199,3 @@ inline double bswapd(double f) { | |||
| 200 | } | 199 | } |
| 201 | 200 | ||
| 202 | #include "swap.h" | 201 | #include "swap.h" |
| 203 | |||
| 204 | #endif // _COMMON_H_ | ||