CVS: winex/misc main.c,1.7,1.8
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/misc main.c,1.7,1.8Update of /var/lib/cvsd/cvsroot/winex/misc In directory agravaine:/tmp/cvs-serv22691/misc Modified Files: main.c Log Message: - various changes & configure checks to build on Leopard (MacOS X 10.5) Index: main.c =================================================================== RCS file: /var/lib/cvsd/cvsroot/winex/misc/main.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- main.c 29 Mar 2007 14:03:14 -0000 1.7 +++ main.c 27 Jun 2007 11:55:11 -0000 1.8 @@ -32,10 +32,12 @@ #if defined(__APPLE__) && defined(__i386__) -#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 #ifdef NEED_UNDERSCORE_PREFIX