Skip to content
Snippets Groups Projects
Commit ac42337e authored by Rene Brun's avatar Rene Brun
Browse files

From Federico:

add a conditional statement trigerred if the variable EXTCOMDEF
for a correct declaration of extern statements.
This is important for Fortran packages having block data


git-svn-id: http://root.cern.ch/svn/root/trunk@23313 27541ba8-7e3a-0410-8455-c3a389f83636
parent e673446a
No related branches found
No related tags found
No related merge requests found
...@@ -357,7 +357,7 @@ only C calling FORTRAN subroutines will work using K&R style.*/ ...@@ -357,7 +357,7 @@ only C calling FORTRAN subroutines will work using K&R style.*/
#ifndef apolloFortran #ifndef apolloFortran
/* "extern" removed (CFITSIO) */ /* "extern" removed (CFITSIO) */
#ifdef __APPLE__ #ifdef EXTCOMDEF
#define COMMON_BLOCK_DEF(DEFINITION, NAME) extern DEFINITION NAME #define COMMON_BLOCK_DEF(DEFINITION, NAME) extern DEFINITION NAME
#else #else
#define COMMON_BLOCK_DEF(DEFINITION, NAME) /* extern */ DEFINITION NAME #define COMMON_BLOCK_DEF(DEFINITION, NAME) /* extern */ DEFINITION NAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment