Skip to content
Snippets Groups Projects
Commit ea0cf34e authored by Pere Mato Vila's avatar Pere Mato Vila
Browse files

Applied changes suggested by Pepe Le Pew and Mattias Ellert

parent 033c50cd
Branches
Tags
No related merge requests found
...@@ -6,10 +6,6 @@ include_directories(${GFAL_INCLUDE_DIRS}) ...@@ -6,10 +6,6 @@ include_directories(${GFAL_INCLUDE_DIRS})
add_definitions(-D_FILE_OFFSET_BITS=64) add_definitions(-D_FILE_OFFSET_BITS=64)
if(GFAL_LIBRARY MATCHES gfal2)
add_definitions(-D_GFAL2_API_)
endif()
ROOT_GENERATE_DICTIONARY(G__GFAL *.h MODULE GFAL LINKDEF LinkDef.h) ROOT_GENERATE_DICTIONARY(G__GFAL *.h MODULE GFAL LINKDEF LinkDef.h)
ROOT_LINKER_LIBRARY(GFAL *.cxx G__GFAL.cxx LIBRARIES Core ${GFAL_LIBRARIES} DEPENDENCIES Net RIO) ROOT_LINKER_LIBRARY(GFAL *.cxx G__GFAL.cxx LIBRARIES Core ${GFAL_LIBRARIES} DEPENDENCIES Net RIO)
......
...@@ -52,7 +52,7 @@ extern "C" { ...@@ -52,7 +52,7 @@ extern "C" {
} }
// GFAL2 doesn't use special names for 64 bit versions // GFAL2 doesn't use special names for 64 bit versions
#if defined(_GFAL2_API_) || defined(GFAL2_API_H_) #if defined(_GFAL2_API_) || defined(GFAL2_API_) || defined(_GFAL2_API) || defined(_GFAL2_API_H_) || defined(GFAL2_API_H_) || defined(_GFAL2_API_H)
#define gfal_lseek64 gfal_lseek #define gfal_lseek64 gfal_lseek
#define gfal_open64 gfal_open #define gfal_open64 gfal_open
#define gfal_readdir64 gfal_readdir #define gfal_readdir64 gfal_readdir
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment