diff options
Diffstat (limited to 'src/process')
-rw-r--r-- | src/process/ntapi_tt_create_native_process_v1.c | 4 | ||||
-rw-r--r-- | src/process/ntapi_tt_create_native_process_v2.c | 4 | ||||
-rw-r--r-- | src/process/ntapi_tt_create_remote_runtime_data.c | 4 | ||||
-rw-r--r-- | src/process/ntapi_tt_get_runtime_data.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/process/ntapi_tt_create_native_process_v1.c b/src/process/ntapi_tt_create_native_process_v1.c index f17f236..a44ed4f 100644 --- a/src/process/ntapi_tt_create_native_process_v1.c +++ b/src/process/ntapi_tt_create_native_process_v1.c @@ -52,11 +52,11 @@ int32_t __stdcall __ntapi_tt_create_native_process_v1(nt_create_process_params * size_t cmd_line_runtime_buffer_size; int fresume_thread; - #if defined (__NT32) + #if (__SIZEOF_POINTER__ == 4) wchar16_t runtime_arg[12] = { ' ','-','r',' ', 'i','n','t','e','g','r','a','l'}; - #elif defined (__NT64) + #elif (__SIZEOF_POINTER__ == 8) wchar16_t runtime_arg[20] = { ' ','-','r',' ', 'i','n','t','e','g','r','a','l', diff --git a/src/process/ntapi_tt_create_native_process_v2.c b/src/process/ntapi_tt_create_native_process_v2.c index 2d058a0..f28a522 100644 --- a/src/process/ntapi_tt_create_native_process_v2.c +++ b/src/process/ntapi_tt_create_native_process_v2.c @@ -49,11 +49,11 @@ int32_t __stdcall __ntapi_tt_create_native_process_v2( nt_create_process_ext_param file_info; } ext_params; - #if defined (__NT32) + #if (__SIZEOF_POINTER__ == 4) wchar16_t runtime_arg[12] = { ' ','-','r',' ', 'i','n','t','e','g','r','a','l'}; - #elif defined (__NT64) + #elif (__SIZEOF_POINTER__ == 8) wchar16_t runtime_arg[20] = { ' ','-','r',' ', 'i','n','t','e','g','r','a','l', diff --git a/src/process/ntapi_tt_create_remote_runtime_data.c b/src/process/ntapi_tt_create_remote_runtime_data.c index b3809b0..7b85893 100644 --- a/src/process/ntapi_tt_create_remote_runtime_data.c +++ b/src/process/ntapi_tt_create_remote_runtime_data.c @@ -26,10 +26,10 @@ int32_t __stdcall __ntapi_tt_create_remote_runtime_data( nt_runtime_data * rtdata; void * srv_ready; - #if defined (__NT32) + #if (__SIZEOF_POINTER__ == 4) wchar16_t runtime_arg[8] = { 'i','n','t','e','g','r','a','l'}; - #elif defined (__NT64) + #elif (__SIZEOF_POINTER__ == 8) wchar16_t runtime_arg[16] = { 'i','n','t','e','g','r','a','l', '-','r','u','n','t','i','m','e'}; diff --git a/src/process/ntapi_tt_get_runtime_data.c b/src/process/ntapi_tt_get_runtime_data.c index 5dc2366..60cdf17 100644 --- a/src/process/ntapi_tt_get_runtime_data.c +++ b/src/process/ntapi_tt_get_runtime_data.c @@ -10,11 +10,11 @@ #include <ntapi/ntapi.h> #include "ntapi_impl.h" -#if defined (__NT32) +#if (__SIZEOF_POINTER__ == 4) static wchar16_t runtime_arg[12] = { ' ','-','r',' ', 'i','n','t','e','g','r','a','l'}; -#elif defined (__NT64) +#elif (__SIZEOF_POINTER__ == 8) static wchar16_t runtime_arg[20] = { ' ','-','r',' ', 'i','n','t','e','g','r','a','l', |