Changeset 483 for cpp/frams/param


Ignore:
Timestamp:
03/26/16 01:33:13 (8 years ago)
Author:
Maciej Komosinski
Message:

Unified DEBUG macro ( -> _DEBUG )

Location:
cpp/frams/param
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/param.cpp

    r478 r483  
    713713//////////////////////////////// PARAM ////////////////////////////////////
    714714
    715 #ifdef DEBUG
     715#ifdef _DEBUG
    716716void SimpleAbstractParam::sanityCheck(int i)
    717717{
     
    748748///////// get
    749749
    750 #ifdef DEBUG
     750#ifdef _DEBUG
    751751#define SANITY_CHECK(i) sanityCheck(i)
    752752#else
  • cpp/frams/param/param.h

    r478 r483  
    172172        static const int LOAD2_IGNORE_PARSE_FAILED=(~LOAD2_PARSE_FAILED); ///< bitmask to be used if the parsing error is to be ignored. usage: int number_of_loaded_fields=load2(...) & LOAD2_IGNORE_PARSE_FAILED;
    173173
    174 #ifdef DEBUG
     174#ifdef _DEBUG
    175175        virtual void sanityCheck(int i) {}
    176176#endif
     
    188188#define FIELDOFFSET(_fld_) ((intptr_t)((char*)(&((FIELDSTRUCT*)&MakeCodeGuardHappy)->_fld_)-((char*)((FIELDSTRUCT*)&MakeCodeGuardHappy))))
    189189
    190 #ifdef DEBUG
     190#ifdef _DEBUG
    191191#define PARAM_ILLEGAL_OFFSET ((intptr_t)0xdeadbeef)
    192192#else
     
    296296        virtual void setDefault(int i);
    297297
    298 #ifdef DEBUG
     298#ifdef _DEBUG
    299299        void sanityCheck(int i);
    300300#endif
Note: See TracChangeset for help on using the changeset viewer.