mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue