Changeset 19829 for trunk/Mars/mcore


Ignore:
Timestamp:
10/30/19 14:29:43 (5 years ago)
Author:
tbretz
Message:
There is a problem with the rootcint hack with root v6. I hope that fixes it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/fits.h

    r19655 r19829  
    2626#endif
    2727
    28 #if defined(__MARS__) || defined(__CINT__) || defined(__CLING__)
     28// ROOT_VERSION is not defined in ROOTv5, but special treatment is
     29// needed depending on whether this is to create the disctionary or not
     30// For ROOTv6 now either __CLING__ (dirctionary) or __ROOTv6__ (compiler)
     31// should be defined.
     32#if defined(ROOT_VERSION_CODE)
     33#if ROOT_VERSION_CODE >= ROOT_VERSION(6,00,0)
     34#define __ROOTv6__ 1
     35#endif
     36#endif
     37
     38#if defined(__MARS__) || defined(__CINT__) || defined (__CLING__) || defined (__ROOTv6__)
    2939#include "MLog.h"
    3040#include "MLogManip.h"
     
    4454#endif
    4555
    46 #if defined(HAVE_ZLIB) || defined(__CINT__) || defined(__CLING__)
     56#if defined(HAVE_ZLIB) || defined(__CINT__) || defined(__CLING__) || defined (__ROOTv6__)
    4757#include "izstream.h"
    4858#else
Note: See TracChangeset for help on using the changeset viewer.