From a6bb6880d0d2426b7541b58bfe111f3858295f25 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev <vvasilev@cern.ch> Date: Fri, 3 Feb 2017 15:38:13 +0100 Subject: [PATCH] [modules] Do not wrap gfal_api in extern "C" context. Define linux macro. --- io/gfal/src/TGFALFile.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/io/gfal/src/TGFALFile.cxx b/io/gfal/src/TGFALFile.cxx index aaf8c2bcec7..5f0a3dbd82c 100644 --- a/io/gfal/src/TGFALFile.cxx +++ b/io/gfal/src/TGFALFile.cxx @@ -44,12 +44,11 @@ Note that for the TGFALFile plugin to work, all these pathnames should be prepended by gfal:. */ +#include "RConfig.h" #include "TROOT.h" #include "TUrl.h" -extern "C" { #include <gfal_api.h> -} // GFAL2 doesn't use special names for 64 bit versions #if defined(_GFAL2_API_) || defined(GFAL2_API_) || defined(_GFAL2_API) || defined(_GFAL2_API_H_) || defined(GFAL2_API_H_) || defined(_GFAL2_API_H) -- GitLab