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.
pull/3011/head
Jon Turney 7 years ago committed by Jussi Pakkanen
parent 4637cf4e95
commit 86ee89b400
  1. 2
      test cases/frameworks/1 boost/linkexe.cc

@ -1,3 +1,5 @@
#define _XOPEN_SOURCE 500
#include<boost/thread.hpp>
boost::recursive_mutex m;

Loading…
Cancel
Save