Author: tkreuzer
Date: Sat Feb 6 02:39:31 2010
New Revision: 45447
URL:
http://svn.reactos.org/svn/reactos?rev=45447&view=rev
Log:
Add missing _PTRSIZEOF
Modified:
branches/ros-amd64-bringup/reactos/include/crt/vadefs.h
Modified: branches/ros-amd64-bringup/reactos/include/crt/vadefs.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/crt/vadefs.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/crt/vadefs.h [iso-8859-1] Sat Feb 6
02:39:31 2010
@@ -87,6 +87,7 @@
#define _crt_va_end(v) ((void)((v) = (va_list)0))
#define __va_copy(d,s) ((void)((d) = (s)))
#elif defined(_M_AMD64)
+#define _PTRSIZEOF(n) ((sizeof(n) + sizeof(void*) - 1) & ~(sizeof(void*) - 1))
#define _ISSTRUCT(t) ((sizeof(t) > sizeof(void*)) || (sizeof(t) & (sizeof(t)-1))
!= 0)
#define _crt_va_start(v,l) ((void)((v) = (va_list)_ADDRESSOF(l) + _PTRSIZEOF(l)))
#define _crt_va_arg(v,t) _ISSTRUCT(t) ? \