must not include system headers within 'extern "C"' blocks. breaks with MPICH

This commit is contained in:
Axel Kohlmeyer
2017-07-26 14:02:02 -04:00
parent 51a06334ad
commit f0d286358e

View File

@ -9,13 +9,13 @@
#ifndef CH5MD_H
#define CH5MD_H
#include "hdf5.h"
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
#include "hdf5.h"
#include <stdbool.h>
#define CH5MD_RANK_ERROR -10
typedef struct h5md_element_struct {