Author: tkreuzer
Date: Tue Dec 16 12:44:09 2008
New Revision: 38125
URL:
http://svn.reactos.org/svn/reactos?rev=38125&view=rev
Log:
hack away broken UNALIGNED. Maybe someone has a real solution for this... encoded?
Modified:
branches/ros-amd64-bringup/reactos/include/crt/stdlib.h
Modified: branches/ros-amd64-bringup/reactos/include/crt/stdlib.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/crt/stdlib.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/crt/stdlib.h [iso-8859-1] Tue Dec 16
12:44:09 2008
@@ -297,7 +297,8 @@
#define _countof(_Array) (sizeof(_Array) / sizeof(_Array[0]))
#else
extern "C++" {
- template <typename _CountofType,size_t _SizeOfArray> char
(*__countof_helper(UNALIGNED _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray];
+ template <typename _CountofType,size_t _SizeOfArray>
+ char (*__countof_helper(/*UNALIGNED*/ _CountofType
(&_Array)[_SizeOfArray]))[_SizeOfArray];
#define _countof(_Array) sizeof(*__countof_helper(_Array))
}
#endif