Changeset 3642


Ignore:
Timestamp:
May 4, 2017, 1:08:47 AM (5 years ago)
Author:
Peter
Message:

put YAT_HAVE_LOG2 inside CXX11 PP guards, and fix typos in how guards are turned on and off (with YAT_WITH_CXX11 and YAT_WITHOUT_CXX11, respectively).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/config_public.h.in

    r3640 r3642  
    4747#undef YAT_HAVE_LIBBAM
    4848
    49 /// Define if std::log2 exists
    50 #undef YAT_HAVE_LOG2
    51 
    5249/// Define to 1 if you have the <samtools/bam.h> header file.
    5350#undef YAT_HAVE_SAMTOOLS_BAM_H
     
    6360#ifndef YAT_WITH_CXX11
    6461#  ifndef YAT_WITHOUT_CXX11
    65 #    define YAT_WITH_CXX11 0 // default is off for now
     62#    define YAT_HAVE_CXX11__ 0 // default is off for now
    6663#  else
    67 #    define YAT_WITH_CXX11 0
     64// YAT_WITHOUT_CXX11 defined by user, turn off features
     65#    define YAT_HAVE_CXX11__ 0
    6866#  endif
    6967#else
     
    7169#    error "cannot set both YAT_WITH_CXX11 and YAT_WITHOUT_CXX11"
    7270#  endif
     71// YAT_WITH_CXX11 defined by user, turn on features
     72#  define YAT_HAVE_CXX11__ 1
    7373#endif
    7474
     
    8282/// Define if compiler supports atomic */
    8383#undef YAT_HAVE_ATOMIC
     84/// Define if std::log2 exists
     85#undef YAT_HAVE_LOG2
    8486#endif
    8587
Note: See TracChangeset for help on using the changeset viewer.