Skip to content

Commit 13aa24c

Browse files
authored
[compiler-rt] Define __STDC_FORMAT_MACROS to ensure PRId64 is available
1 parent b368404 commit 13aa24c

File tree

1 file changed

+2
-0
lines changed
  • compiler-rt/lib/scudo/standalone

1 file changed

+2
-0
lines changed

compiler-rt/lib/scudo/standalone/timing.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#include "string_utils.h"
1515
#include "thread_annotations.h"
1616

17+
// Ensure PRId64 macro is available
18+
#define __STDC_FORMAT_MACROS 1
1719
#include <inttypes.h>
1820
#include <string.h>
1921

0 commit comments

Comments
 (0)