mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[WINE]
Add a dummy DECL_GLOBAL_CONSTRUCTOR for MSVC svn path=/branches/cmake-bringup/; revision=49849
This commit is contained in:
parent
5782837e7e
commit
69c7a5d30c
1 changed files with 5 additions and 1 deletions
|
@ -150,7 +150,11 @@ struct statfs;
|
||||||
|
|
||||||
/* Constructor functions */
|
/* 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) \
|
# define DECL_GLOBAL_CONSTRUCTOR(func) \
|
||||||
static void func(void) __attribute__((constructor)); \
|
static void func(void) __attribute__((constructor)); \
|
||||||
static void func(void)
|
static void func(void)
|
||||||
|
|
Loading…
Reference in a new issue