From 89602bea2d859320b5b4547b00524a04903e7da2 Mon Sep 17 00:00:00 2001 From: eschnett Date: Mon, 14 Jan 2013 17:44:30 +0000 Subject: Always include and in the same order git-svn-id: http://svn.cactuscode.org/flesh/trunk@4932 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/include/cctk_Math.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/include/cctk_Math.h b/src/include/cctk_Math.h index bd7c3f6f..e51c991f 100644 --- a/src/include/cctk_Math.h +++ b/src/include/cctk_Math.h @@ -13,8 +13,16 @@ #define _CCTK_MATH_H_ #ifdef __cplusplus -# include +/* Note: Some C++ implementations differ in their behaviour (how isnan + etc. can be accessed) depending on the order (!) in which + and is included, if both are included. + + We therefore require: A file including this file may include + at will, and is allowed to include if is + included before. We do this because seems "more standard" + than for C++ these days. */ # include +# include # include # include #endif -- cgit v1.2.3