diff options
author | midipix <writeonce@midipix.org> | 2016-12-19 18:53:24 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-19 18:55:17 -0500 |
commit | 7f8d50abe18471c5a79951ad13b63d1bc125c47e (patch) | |
tree | 9eed3f42999bd37f1295bc8b85255b6d24c2b0ad /src/process/ntapi_tt_create_remote_runtime_data.c | |
parent | 34d90026b95505886f419c79076fe2916d6f8b7a (diff) | |
download | ntapi-7f8d50abe18471c5a79951ad13b63d1bc125c47e.tar.bz2 ntapi-7f8d50abe18471c5a79951ad13b63d1bc125c47e.tar.xz |
32/64-bit code path: use __SIZEOF_POINTER__ in anticipation of arm support.
Diffstat (limited to 'src/process/ntapi_tt_create_remote_runtime_data.c')
-rw-r--r-- | src/process/ntapi_tt_create_remote_runtime_data.c | 4 |
1 files changed, 2 insertions, 2 deletions
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'}; |