I have a .f90 file with dozens of subroutines, each of which require:
#ifdef _WINDOWS #ifdef BITS64 use apm_mod_Win_x64 #else use apm_mod_Win_x86 #endif #else #ifdef BITS64 use apm_mod_Linux_x64 #else use apm_mod_Linux_x86 #endif #endif
Is there a way to define this logic once and then just refer to it in each subroutine?