fix compilation with glibc 2.26, major/minor functions, fixed #2
compilation error was: linux_sigar.c:1156:22: error: called object ‘major’ is not a function or function pointer linux_sigar.c:1157:22: error: called object ‘minor’ is not a function or function pointer
This commit is contained in:
1 parent
2f7284cd4c
commit
a2c67588d0
2 files changed
+7
No files matched your search
@@ -49,6 +49,9 @@ when /mswin|mingw|cygwin|bccwin/
|
||||
have_library("version")
|
||||
when /linux/
|
||||
os = 'linux'
|
||||
if have_header("sys/sysmacros.h")
|
||||
$CPPFLAGS += ' -DLINUX_SYSMACROS'
|
||||
end
|
||||
when /solaris|sun/
|
||||
os = 'solaris'
|
||||
have_library("nsl")
|
||||
|
||||
Reference in new issue
Block a user