From 86ee89b400fc4acbb506cc44d5a287958397edf9 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Sun, 4 Feb 2018 19:53:49 +0000 Subject: [PATCH] Fix boost test on cygwin With the headers from cygwin-devel-2.10.0-1, getpagesize() is not prototyped unless an appropriate feature test macro is defined. Future work: investigate if this needs to be defined by BoostDependency.get_compile_args() or in Boost. --- test cases/frameworks/1 boost/linkexe.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test cases/frameworks/1 boost/linkexe.cc b/test cases/frameworks/1 boost/linkexe.cc index 240c7c1ec..e00edee19 100644 --- a/test cases/frameworks/1 boost/linkexe.cc +++ b/test cases/frameworks/1 boost/linkexe.cc @@ -1,3 +1,5 @@ +#define _XOPEN_SOURCE 500 + #include boost::recursive_mutex m;