diff --git a/src/H5private.h b/src/H5private.h index 8950b541bed..36398f6817e 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -20,6 +20,11 @@ #ifndef H5private_H #define H5private_H +/* Define __STDC_WANT_IEC_60559_TYPES_EXT__ for _FloatN support, if available. + * Do that before including any other headers in case they include + * implicitly. */ +#define __STDC_WANT_IEC_60559_TYPES_EXT__ + #include "H5public.h" /* Include Public Definitions */ #include @@ -34,8 +39,6 @@ #include #include -/* Define __STDC_WANT_IEC_60559_TYPES_EXT__ for _FloatN support, if available */ -#define __STDC_WANT_IEC_60559_TYPES_EXT__ #include #include