From ce700a0870f11d0e823d895f5444e14e149510aa Mon Sep 17 00:00:00 2001 From: Max Katz Date: Sun, 15 Oct 2023 17:33:31 -0400 Subject: [PATCH] ifdef --- Source/driver/global.H | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/driver/global.H b/Source/driver/global.H index 50cb666937..3df820de66 100644 --- a/Source/driver/global.H +++ b/Source/driver/global.H @@ -2,11 +2,16 @@ #define GLOBAL_H #include +#ifdef RADIATION +#include +#endif namespace global { AMREX_INLINE Amr* the_amr_ptr; +#ifdef RADIATION AMREX_INLINE Radiation* the_radiation_ptr; +#endif } #endif