diff options
-rw-r--r-- | src/include/cctk_Math.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/cctk_Math.h b/src/include/cctk_Math.h index ac1029b4..bd7c3f6f 100644 --- a/src/include/cctk_Math.h +++ b/src/include/cctk_Math.h @@ -39,7 +39,7 @@ int CCTK_signbit(double x); -#ifdef __cplusplus +#if defined __cplusplus && ! defined __CUDACC__ /* If necessary, provide fallback C implementations for C++, using the routines declared above. */ @@ -185,8 +185,8 @@ namespace std { #define isnormal Cactus::good_isnormal #define signbit Cactus::good_signbit -#endif +#endif /* #if defined __cplusplus && ! defined __CUDACC__ */ -#endif +#endif /* #ifndef _CCTK_MATH_H_ */ |