Huw Davies : include: Add correct structure packing.

Alexandre Julliard julliard at winehq.org
Thu Aug 6 10:49:57 CDT 2009


Module: wine
Branch: master
Commit: 760d2b652f547fe3861d5fa30fcbf219beab69da
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=760d2b652f547fe3861d5fa30fcbf219beab69da

Author: Huw Davies <huw at codeweavers.com>
Date:   Thu Aug  6 14:39:17 2009 +0100

include: Add correct structure packing.

---

 include/oledb.idl |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/include/oledb.idl b/include/oledb.idl
index 31e2111..b973bb9 100644
--- a/include/oledb.idl
+++ b/include/oledb.idl
@@ -15,6 +15,12 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
+cpp_quote("#ifdef _WIN64")
+cpp_quote("#include <pshpack8.h>")
+cpp_quote("#else")
+cpp_quote("#include <pshpack2.h>")
+cpp_quote("#endif")
+cpp_quote("")
 
 import "wtypes.idl";
 import "oaidl.idl";
@@ -36,3 +42,6 @@ typedef ULONG DBCOUNTITEM;
 #include "opnrst.idl"
 #include "binres.idl"
 #include "crtrow.idl"
+
+cpp_quote("#include <poppack.h>")
+cpp_quote("")




More information about the wine-cvs mailing list