Ignore:
Timestamp:
Oct 16, 2001, 2:10:43 PM (24 years ago)
Author:
phaller
Message:

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/odinwrap.h

    r7010 r7076  
    112112#endif
    113113
     114
     115
     116#if defined(PROFILE) || defined(DEBUG)
     117
    114118#ifndef FNINIT
    115119#define FNINIT \
     
    131135    dprintf(("WARNING: FS: for thread %08xh corrupted by "a, GetCurrentThreadId())); \
    132136  }
     137
     138#endif
     139
     140
     141#if defined(RELEASE)
     142
     143#define FNINIT
     144#define FNPROLOGUE(a)
     145#define FNEPILOGUE(a)
     146
     147#endif
     148
     149// check if all macros are defined
     150#ifndef FNINIT
     151#error FNINIT not defined: DEBUG, PROFILE, or RELEASE not specified
     152#endif
     153
     154#ifndef FNPROLOGUE
     155#error FNPROLOGUE not defined: DEBUG, PROFILE, or RELEASE not specified
     156#endif
     157
     158#ifndef FNEPILOGUE
     159#error FNEPILOGUE not defined: DEBUG, PROFILE, or RELEASE not specified
     160#endif
    133161
    134162
Note: See TracChangeset for help on using the changeset viewer.