projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08e5096
)
compiler: Don't require constructor names to be globally unique in MSVC.
author
Ben Pfaff
<blp@ovn.org>
Wed, 10 Feb 2016 23:43:22 +0000
(15:43 -0800)
committer
Ben Pfaff
<blp@ovn.org>
Thu, 11 Feb 2016 02:08:16 +0000
(18:08 -0800)
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Russell Bryant <russell@ovn.org>
include/openvswitch/compiler.h
patch
|
blob
|
history
diff --git
a/include/openvswitch/compiler.h
b/include/openvswitch/compiler.h
index
f13f315
..
60c408b
100644
(file)
--- a/
include/openvswitch/compiler.h
+++ b/
include/openvswitch/compiler.h
@@
-206,7
+206,7
@@
#pragma section(".CRT$XCU",read)
#define OVS_CONSTRUCTOR(f) \
static void __cdecl f(void); \
- __declspec(allocate(".CRT$XCU")) void (__cdecl*f##_)(void) = f; \
+ __declspec(allocate(".CRT$XCU"))
static
void (__cdecl*f##_)(void) = f; \
static void __cdecl f(void)
#else
#define OVS_CONSTRUCTOR(f) \