From: Timo Kreuzer Date: Tue, 12 Jan 2010 20:30:43 +0000 (+0000) Subject: Enable a few definitions for amd64, too X-Git-Tag: backups/aicom-network-stable@46924^2~74 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=40a5eb2996ca2165c6f3d70cfb8d838c06f6389e Enable a few definitions for amd64, too svn path=/trunk/; revision=45054 --- diff --git a/reactos/include/crt/stdlib.h b/reactos/include/crt/stdlib.h index f931a4c7b54..09dd4a5e378 100644 --- a/reactos/include/crt/stdlib.h +++ b/reactos/include/crt/stdlib.h @@ -152,7 +152,7 @@ extern "C" { _CRTIMP extern char *_sys_errlist[]; _CRTIMP extern int _sys_nerr; -#if !defined(__x86_64) +//#if !defined(__x86_64) _CRTIMP int *__cdecl __p___argc(void); _CRTIMP char ***__cdecl __p___argv(void); _CRTIMP wchar_t ***__cdecl __p___wargv(void); @@ -160,7 +160,7 @@ extern "C" { _CRTIMP wchar_t ***__cdecl __p__wenviron(void); _CRTIMP char **__cdecl __p__pgmptr(void); _CRTIMP wchar_t **__cdecl __p__wpgmptr(void); -#endif +//#endif #ifndef __argc #ifdef _MSVCRT_ extern int __argc; @@ -292,7 +292,8 @@ extern "C" { #define _countof(_Array) (sizeof(_Array) / sizeof(_Array[0])) #else extern "C++" { - template char (*__countof_helper(UNALIGNED _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray]; + template + char (*__countof_helper(/*UNALIGNED*/ _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray]; #define _countof(_Array) sizeof(*__countof_helper(_Array)) } #endif