Module: wine Branch: refs/heads/master Commit: cf675c1197b3ef15859e55fe41b5d28ea0ae4624 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=cf675c1197b3ef15859e55fe...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Jan 25 15:03:46 2006 +0100
wtypes: Don't specify alignment for DOUBLE and DATE on MSVC.
---
include/wtypes.idl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/wtypes.idl b/include/wtypes.idl index f53e1bd..0e0fed7 100644 --- a/include/wtypes.idl +++ b/include/wtypes.idl @@ -181,7 +181,7 @@ typedef LONG_PTR LPARAM;
cpp_quote("#endif /* winnt.h */")
-cpp_quote("#if 0") /* for IDL only */ +cpp_quote("#ifdef _MSC_VER") /* for IDL and MSVC only */ typedef double DOUBLE; cpp_quote("#else") cpp_quote("typedef double DECLSPEC_ALIGN(8) DOUBLE;") @@ -599,7 +599,7 @@ typedef enum tagSTATFLAG {
/******************** OLE Automation ********************/
-cpp_quote("#if 0") /* for IDL only */ +cpp_quote("#ifdef _MSC_VER") /* for IDL and MSVC only */ typedef double DATE; cpp_quote("#else") cpp_quote("typedef double DECLSPEC_ALIGN(8) DATE;")