Skip to content

Commit 932d95e

Browse files
samuel40791765andrewhop
authored andcommitted
fix build on gcc4.8.3 (aws#1156)
We recently had a team reach out to us about our broken build on gcc 4.8.3. This is due to a bug that we've previously encountered in this commit: 6566103 We may have to add new CI to check for this, but it seems like this specific version is hard to find. We already have CI for gcc 4.8.5.
1 parent bc40d49 commit 932d95e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tool/speed.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@
2020

2121
#include <assert.h>
2222
#include <errno.h>
23+
24+
#ifndef __STDC_FORMAT_MACROS
25+
#define __STDC_FORMAT_MACROS
26+
#endif
2327
#include <inttypes.h>
28+
2429
#include <stdint.h>
2530
#include <stdlib.h>
2631
#include <string.h>

0 commit comments

Comments
 (0)