Skip to content

Commit

Permalink
Fix _LOGALLOC define (#106023)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-mustafin committed Aug 6, 2024
1 parent 1563fec commit 47ebcf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/coreclr/gc/gc.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,6 @@ extern size_t gc_global_mechanisms[MAX_GLOBAL_GC_MECHANISMS_COUNT];
class DacHeapWalker;
#endif

#ifdef _DEBUG
#define _LOGALLOC
#endif

#define MP_LOCKS

#ifdef FEATURE_MANUALLY_MANAGED_CARD_BUNDLES
Expand Down
4 changes: 4 additions & 0 deletions src/coreclr/inc/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ enum {
#define ERROR 0
#define FATALERROR 0

#ifdef _DEBUG
#define _LOGALLOC
#endif

#ifndef LOGGING

#define LOG(x)
Expand Down

0 comments on commit 47ebcf3

Please sign in to comment.