Author: gadamopoulos Date: Sun Jun 19 10:44:26 2011 New Revision: 52362
URL: http://svn.reactos.org/svn/reactos?rev=52362&view=rev Log: [rpcrt4] - Improve hacky definition of __ASM_DEFINE_FUNC to reduce build errors with msvc
Modified: trunk/reactos/include/reactos/wine/config.h
Modified: trunk/reactos/include/reactos/wine/config.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/config... ============================================================================== --- trunk/reactos/include/reactos/wine/config.h [iso-8859-1] (original) +++ trunk/reactos/include/reactos/wine/config.h [iso-8859-1] Sun Jun 19 10:44:26 2011 @@ -1020,6 +1020,8 @@ #else #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t.globl " #name suffix "\n\t.def " #name suffix "; .scl 2; .type 32; .endef\n" #name suffix ":\n\t.cfi_startproc\n\t" code "\n\t.cfi_endproc"); #endif +#else +#define __ASM_DEFINE_FUNC(name,suffix,code) #endif
/* Define to a macro to generate an assembly function directive */