[SDK] Fix preprocessor usage
Signed-off-by: Quinn Stephens <quinn@osmora.org>
This commit is contained in:
@@ -18,7 +18,7 @@ Abstract:
|
||||
#ifndef _STDDEF_H
|
||||
#define _STDDEF_H 1
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@@ -34,7 +34,7 @@ extern "C" {
|
||||
|
||||
#ifndef _SIZE_T_DEFINED
|
||||
#define _SIZE_T_DEFINED
|
||||
#ifdef _WIN64
|
||||
#if defined(_WIN64)
|
||||
typedef unsigned __int64 size_t;
|
||||
#else
|
||||
typedef unsigned int size_t;
|
||||
@@ -43,7 +43,7 @@ typedef unsigned int size_t;
|
||||
|
||||
#ifndef _PTRDIFF_T_DEFINED
|
||||
#define _PTRDIFF_T_DEFINED
|
||||
#ifdef _WIN64
|
||||
#if defined(_WIN64)
|
||||
typedef __int64 ptrdiff_t;
|
||||
#else
|
||||
typedef long int ptrdiff_t;
|
||||
@@ -57,7 +57,7 @@ typedef unsigned short wchar_t;
|
||||
|
||||
#define offsetof(type, member) __builtin_offsetof(type, member)
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user