File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 4646 #define memIdx (src ) (src)
4747 #define memStrLen strlen
4848 #define memEnum (addr ) (*addr)
49- // #ifndef F
49+ #ifndef F
5050 #define F (x ) (x)
51- // #endif
51+ #endif
5252#endif
5353
5454// ///////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change @@ -33,20 +33,24 @@ using namespace Menu;
3333#endif
3434
3535
36- #if defined(MENU_DEBUG) && defined(TRACE)
36+ #if defined(MENU_DEBUG) && defined(TRACE) && !defined(trace)
3737 #define trace (x ) x
3838#else
3939 #define trace (x )
4040#endif
41- #ifdef MENU_DEBUG
41+ #if defined( MENU_DEBUG) && !defined(_trace)
4242 #define _trace (x ) x
4343#else
44- #define _trace (x )
44+ #ifndef _trace
45+ #define _trace (x )
46+ #endif
4547#endif
46- #ifndef MENU_RELEASE
48+ #if defined( MENU_RELEASE) && !defined(__trace)
4749 #define __trace (x ) x
4850#else
49- #define __trace (x )
51+ #ifndef __trace
52+ #define __trace (x )
53+ #endif
5054#endif
5155
5256namespace Menu {
You can’t perform that action at this time.
0 commit comments