Francois Gouget : winapi_check: Add support for '-arch=xxx' in spec files.

Alexandre Julliard julliard at winehq.org
Mon Dec 15 08:27:00 CST 2008


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sat Dec 13 12:04:22 2008 +0100

winapi_check: Add support for '-arch=xxx' in spec files.

---

 tools/winapi/winapi.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/winapi/winapi.pm b/tools/winapi/winapi.pm
index 8c552e5..87339ac 100644
--- a/tools/winapi/winapi.pm
+++ b/tools/winapi/winapi.pm
@@ -281,7 +281,7 @@ sub parse_spec_file($$) {
 	my $ordinal;
 	if(/^(\d+|@)\s+
 	   (pascal|stdcall|cdecl|varargs)\s+
-	   ((?:(?:-noname|-norelay|-i386|-ret16|-ret64|-register|-interrupt|-private)\s+)*)(\S+)\s*\(\s*(.*?)\s*\)\s*(\S*)$/x)
+	   ((?:(?:-arch=(?:i386|x86_64)|-noname|-norelay|-i386|-ret16|-ret64|-register|-interrupt|-private)\s+)*)(\S+)\s*\(\s*(.*?)\s*\)\s*(\S*)$/x)
 	{
 	    my $calling_convention = $2;
 	    my $flags = $3;




More information about the wine-cvs mailing list