Author: sserapion
Date: Mon Dec 15 11:19:10 2008
New Revision: 38110
URL:
http://svn.reactos.org/svn/reactos?rev=38110&view=rev
Log:
- Fix UNALIGNED definition in crt.
- Definition not fixed in psdk because attribute(packed) is ignored on pointers and causes
warnings, that with the pedantic warnings as errors break everything.
Modified:
branches/ros-amd64-bringup/reactos/include/crt/_mingw.h
branches/ros-amd64-bringup/reactos/include/psdk/winnt.h
Modified: branches/ros-amd64-bringup/reactos/include/crt/_mingw.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/crt/_mingw.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/crt/_mingw.h [iso-8859-1] Mon Dec 15
11:19:10 2008
@@ -482,7 +482,7 @@
#ifndef UNALIGNED
#if defined(__ia64__) || defined(__x86_64)
-//#define UNALIGNED __CRT_UNALIGNED
+#define UNALIGNED __unaligned
#else
#define UNALIGNED
#endif
@@ -570,4 +570,3 @@
#pragma pack(pop)
#endif
-
Modified: branches/ros-amd64-bringup/reactos/include/psdk/winnt.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/psdk/winnt.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/psdk/winnt.h [iso-8859-1] Mon Dec 15
11:19:10 2008
@@ -53,6 +53,7 @@
#ifdef _X86_
#define UNALIGNED
#else
+#undef UNALIGNED
#define UNALIGNED
#endif