From 7f8d50abe18471c5a79951ad13b63d1bc125c47e Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 19 Dec 2016 18:53:24 -0500 Subject: 32/64-bit code path: use __SIZEOF_POINTER__ in anticipation of arm support. --- include/ntapi/nt_sysinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/ntapi/nt_sysinfo.h b/include/ntapi/nt_sysinfo.h index 3f57a43..aa6cb6e 100644 --- a/include/ntapi/nt_sysinfo.h +++ b/include/ntapi/nt_sysinfo.h @@ -437,7 +437,7 @@ typedef struct _nt_system_handle_information { uint16_t handle; void * object; uint32_t granted_access; -#if defined (__NT64) +#if (__SIZEOF_POINTER__ == 8) uint32_t granted_access_padding; #endif } nt_system_handle_information; -- cgit v1.2.3