mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[WINE]
Add a dummy DECL_GLOBAL_CONSTRUCTOR for MSVC svn path=/branches/cmake-bringup/; revision=49849
This commit is contained in:
@@ -150,7 +150,11 @@ struct statfs;
|
||||
|
||||
/* Constructor functions */
|
||||
|
||||
#ifdef __GNUC__
|
||||
#ifdef _MSC_VER // ReactOS
|
||||
#pragma message("DECL_GLOBAL_CONSTRUCTOR is not properly defined")
|
||||
# define DECL_GLOBAL_CONSTRUCTOR(func) \
|
||||
static void func(void)
|
||||
#elif defined(__GNUC__)
|
||||
# define DECL_GLOBAL_CONSTRUCTOR(func) \
|
||||
static void func(void) __attribute__((constructor)); \
|
||||
static void func(void)
|
||||
|
||||
Reference in New Issue
Block a user