diff options
| author | 2015-06-21 13:12:49 +0100 | |
|---|---|---|
| committer | 2015-06-28 00:36:54 +0100 | |
| commit | 2d044a67c932403b81fdde6f81d461c6e7c11efe (patch) | |
| tree | 84e423036be6e126d39ad18b02662f6ea6677ea1 /src/common/common_funcs.h | |
| parent | Common: Cleanup profiler includes. (diff) | |
| download | yuzu-2d044a67c932403b81fdde6f81d461c6e7c11efe.tar.gz yuzu-2d044a67c932403b81fdde6f81d461c6e7c11efe.tar.xz yuzu-2d044a67c932403b81fdde6f81d461c6e7c11efe.zip | |
Common: Cleanup memory and misc includes.
Diffstat (limited to 'src/common/common_funcs.h')
| -rw-r--r-- | src/common/common_funcs.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index 91b74c6bc..cc74a228e 100644 --- a/src/common/common_funcs.h +++ b/src/common/common_funcs.h | |||
| @@ -5,8 +5,6 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include "common_types.h" | 7 | #include "common_types.h" |
| 8 | #include <cstdlib> | ||
| 9 | |||
| 10 | 8 | ||
| 11 | #define b2(x) ( (x) | ( (x) >> 1) ) | 9 | #define b2(x) ( (x) | ( (x) >> 1) ) |
| 12 | #define b4(x) ( b2(x) | ( b2(x) >> 2) ) | 10 | #define b4(x) ( b2(x) | ( b2(x) >> 2) ) |
| @@ -43,8 +41,6 @@ | |||
| 43 | 41 | ||
| 44 | #ifndef _MSC_VER | 42 | #ifndef _MSC_VER |
| 45 | 43 | ||
| 46 | #include <errno.h> | ||
| 47 | |||
| 48 | #if defined(__x86_64__) || defined(_M_X64) | 44 | #if defined(__x86_64__) || defined(_M_X64) |
| 49 | #define Crash() __asm__ __volatile__("int $3") | 45 | #define Crash() __asm__ __volatile__("int $3") |
| 50 | #elif defined(_M_ARM) | 46 | #elif defined(_M_ARM) |