summaryrefslogtreecommitdiffhomepage
path: root/src/string/ntapi_tt_uintptr_to_hex_utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/ntapi_tt_uintptr_to_hex_utf8.c')
-rw-r--r--src/string/ntapi_tt_uintptr_to_hex_utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string/ntapi_tt_uintptr_to_hex_utf8.c b/src/string/ntapi_tt_uintptr_to_hex_utf8.c
index 7fb1dc5..d18725b 100644
--- a/src/string/ntapi_tt_uintptr_to_hex_utf8.c
+++ b/src/string/ntapi_tt_uintptr_to_hex_utf8.c
@@ -65,9 +65,9 @@ void __fastcall __ntapi_tt_uintptr_to_hex_utf8(
__in uintptr_t key,
__out unsigned char * buffer)
{
- #if defined (__NT32)
+ #if (__SIZEOF_POINTER__ == 4)
__ntapi_tt_uint_to_hex_utf8(key,buffer,32);
- #elif defined (__NT64)
+ #elif (__SIZEOF_POINTER__ == 8)
__ntapi_tt_uint_to_hex_utf8(key,buffer,64);
#endif
}