summaryrefslogtreecommitdiffhomepage
path: root/src/string/ntapi_tt_hex_utf16_to_uintptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/ntapi_tt_hex_utf16_to_uintptr.c')
-rw-r--r--src/string/ntapi_tt_hex_utf16_to_uintptr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string/ntapi_tt_hex_utf16_to_uintptr.c b/src/string/ntapi_tt_hex_utf16_to_uintptr.c
index 494e5ef..0edc870 100644
--- a/src/string/ntapi_tt_hex_utf16_to_uintptr.c
+++ b/src/string/ntapi_tt_hex_utf16_to_uintptr.c
@@ -94,9 +94,9 @@ int32_t __fastcall __ntapi_tt_hex_utf16_to_uintptr(
__in wchar16_t hex_key_utf16[],
__out uintptr_t * key)
{
- #if defined (__NT32)
+ #if (__SIZEOF_POINTER__ == 4)
return __ntapi_tt_hex_utf16_to_uint32(hex_key_utf16,key);
- #elif defined (__NT64)
+ #elif (__SIZEOF_POINTER__ == 8)
return __ntapi_tt_hex_utf16_to_uint64(hex_key_utf16,key);
#endif
}