mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-11 03:31:36 +00:00
BUILD: fix dragonfly build again on __read_mostly
It looks like some versions define it and others not. Better rely on the macro itself rather than checking for a particular OS.
This commit is contained in:
parent
55f8a830dc
commit
ac5f634cb1
@ -89,7 +89,7 @@
|
||||
#endif // USE_OBSOLETE_LINKER
|
||||
|
||||
/* use this attribute on a variable to move it to the read_mostly section */
|
||||
#if !defined(__DragonFly__)
|
||||
#if !defined(__read_mostly)
|
||||
#define __read_mostly HA_SECTION("read_mostly")
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user