Commit fada7930 authored by Peter W. Draper's avatar Peter W. Draper

C++ build fix: seems that the file c++config.h undef's the max and min macros,...

C++ build fix: seems that the file c++config.h undef's the max and min macros, the solution is to include something that pulls in that file before we do our own defines (in minmax.h)

See: https://gcc.gnu.org/ml/libstdc++/2016-01/msg00025.html and #489
parent 450670d0
......@@ -21,6 +21,7 @@
#include "../config.h"
/* Some standard headers. */
#include <math.h>
#include <string.h>
/* This object's header. */
......
......@@ -21,8 +21,10 @@
#include "../config.h"
/* Some standard headers. */
#include <math.h>
#include <string.h>
/* MPI headers. */
#ifdef WITH_MPI
#include <mpi.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment