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. --- src/string/ntapi_tt_uintptr_to_hex_utf16.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/string/ntapi_tt_uintptr_to_hex_utf16.c') diff --git a/src/string/ntapi_tt_uintptr_to_hex_utf16.c b/src/string/ntapi_tt_uintptr_to_hex_utf16.c index bb7ae8c..2cd0b69 100644 --- a/src/string/ntapi_tt_uintptr_to_hex_utf16.c +++ b/src/string/ntapi_tt_uintptr_to_hex_utf16.c @@ -73,12 +73,12 @@ void __fastcall __ntapi_tt_uintptr_to_hex_utf16( __in uintptr_t key, __out wchar16_t * formatted_key) { - #if defined (__NT32) + #if (__SIZEOF_POINTER__ == 4) __ntapi_tt_uint_to_hex_utf16( key, formatted_key, 32); - #elif defined (__NT64) + #elif (__SIZEOF_POINTER__ == 8) __ntapi_tt_uint_to_hex_utf16( key, formatted_key, -- cgit v1.2.3