Skip to content
Snippets Groups Projects
Commit 3115af0c authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Include the integer min and max limits in partition.c and activate their usage...

Include the integer min and max limits in partition.c and activate their usage in C++ via macro definition.
parent ff8efd63
Branches
Tags
No related merge requests found
......@@ -37,19 +37,19 @@
#include <stdlib.h>
#include <strings.h>
/* Include int min and max values. Define these limits in C++ as well. */
#define __STDC_LIMIT_MACROS
#include <stdint.h>
/* MPI headers. */
#ifdef WITH_MPI
#include <mpi.h>
/* METIS/ParMETIS headers only used when MPI is also available. */
#ifdef HAVE_PARMETIS
#define __STDC_LIMIT_MACROS
#include <parmetis.h>
#include <stdint.h>
#endif
#ifdef HAVE_METIS
#define __STDC_LIMIT_MACROS
#include <metis.h>
#include <stdint.h>
#endif
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment