summaryrefslogtreecommitdiff
path: root/vm_sync.h
diff options
context:
space:
mode:
authorNaohisa Goto <ngotogenome@gmail.com>2021-11-29 23:46:48 +0900
committerNaohisa Goto <ngotogenome@gmail.com>2021-11-30 00:03:04 +0900
commit8287d2f23c06c614d1ae83b6e0dad48bcda622cb (patch)
treed78fe726e7beb324cae25fa8c2f423764e2e5cb3 /vm_sync.h
parent67a1e2258974df4b597d019739595c18fbb9a7c1 (diff)
downloadruby-8287d2f23c06c614d1ae83b6e0dad48bcda622cb.tar.gz
Workaround for implicit declaration of function 'madvise' on Solaris
On Solaris, madvise(3C) is NOT defined for SUS (XPG4v2) or later, but MADV_* macros are defined when __EXTENSIONS__ is defined. This may cause compile error on Solaris 10 with GCC when "-Werror=implicit-function-declaration" and "-D_XOPEN_SOURCE=600" are added by configure.
Diffstat (limited to 'vm_sync.h')
0 files changed, 0 insertions, 0 deletions