~sysman-one/starlet/main

« back to all changes in this revision

Viewing changes to utility_routines.h

  • Committer: Ruslan (The BadAss SysMan) Laishev
  • Date: 2024-10-10 17:33:51 UTC
  • mfrom: (37.1.1)
  • Revision ID: git-v1:3369e54ddf547f516a921fd9b4ce4cd0b49099f4
Merge branch 'devel' into 'master'

Compilation fix in "Release" variant.

See merge request SysMan-One/utility_routines!3

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
**
49
49
**       9-OCT-2023     RRL     Revised and refactored __util$lookup_key
50
50
**
 
51
**      10-OCT-2024     RRL     Fix $IFTRACE() in Release compilation
 
52
**
51
53
*/
52
54
 
53
55
#if _WIN32
1334
1336
                #define $IFTRACE(cond, fmt, ...) __util$trace(cond, fmt, __MODULE__, __FUNCTION__, __LINE__ , ## __VA_ARGS__)
1335
1337
        #endif
1336
1338
#else
1337
 
        #define $TRACE(fmt, ...)        {}
1338
 
        #define $IFTRACE(cond, fmt, ...)        {}
 
1339
#ifndef __UTIL$_NOPE__
 
1340
static inline void __util$nope (void) {}
 
1341
#define __UTIL$_NOPE__  1
 
1342
#endif /* __UTIL$_NOPE__ */
 
1343
 
 
1344
 
 
1345
 
 
1346
        #define $TRACE(fmt, ...)                __util$nope()
 
1347
        #define $IFTRACE(cond, fmt, ...)        __util$nope()
1339
1348
 
1340
1349
#endif
1341
1350