CVS: winex/include/wine port.h,1.14,1.15

[email protected]
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/include/wine port.h,1.14,1.15Update of /var/lib/cvsd/cvsroot/winex/include/wine
In directory agravaine:/tmp/cvs-serv22520/include/wine

Modified Files:
	port.h 
Log Message:
- various changes & configure checks to build on Leopard (MacOS X 10.5)



Index: port.h
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/include/wine/port.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- port.h	30 Mar 2007 14:43:10 -0000	1.14
+++ port.h	27 Jun 2007 11:53:35 -0000	1.15
@@ -276,10 +276,12 @@
 # define __ASM_NAME(name) name
 #endif
 
-#ifdef NEED_TYPE_IN_DEF
+#ifdef TYPE_ASM_SUPPORTED
+# define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
+#elif defined(NEED_TYPE_IN_DEF)
 # define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
 #else
-# define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
+# define __ASM_FUNC(name)
 #endif
 
 #if defined(__GNUC__) && !defined(__APPLE__)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.