Rob Shearman : msvcmaker: Add HAVE_* defines for some types present in the MSVC build environment.

Alexandre Julliard julliard at winehq.org
Tue Sep 30 11:15:29 CDT 2008


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

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Thu Sep 25 16:43:29 2008 +0100

msvcmaker: Add HAVE_* defines for some types present in the MSVC build environment.

---

 tools/winapi/msvcmaker |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker
index 05bb715..7a74829 100755
--- a/tools/winapi/msvcmaker
+++ b/tools/winapi/msvcmaker
@@ -1145,6 +1145,13 @@ sub _generate_config_h($) {
 	push @defines, "HAVE_\U$function\E 1";
     }
 
+    my @types = qw(
+        long_long off_t size_t
+    );
+    foreach my $type (@types) {
+	push @defines, "HAVE_\U$type\E 1";
+    }
+
     foreach my $define (sort(@defines)) {
 	print OUT "#define $define\n";
 	print OUT "\n";




More information about the wine-cvs mailing list