Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 27faf8b

Browse files
authored
Put the serialization marker under its own IFDEF. (#11568)
1 parent c8f77de commit 27faf8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm/eventpipeeventinstance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void EventPipeEventInstance::FastSerialize(FastSerializer *pSerializer, StreamLa
8989
}
9090
CONTRACTL_END;
9191

92-
#ifdef _DEBUG
92+
#ifdef EVENTPIPE_EVENT_MARKER
9393
// Useful for diagnosing serialization bugs.
9494
const unsigned int value = 0xDEADBEEF;
9595
pSerializer->WriteBuffer((BYTE*)&value, sizeof(value));

0 commit comments

Comments
 (0)