From dd7f866a929e0ca24a676be42feddc29870e1da4 Mon Sep 17 00:00:00 2001 From: Robert Nishihara Date: Wed, 31 May 2017 23:51:00 -0700 Subject: [PATCH] Fix compilation error on CentOS. (#622) * Fix compilation error on CentOS. * add TODO --- src/plasma/plasma_common.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plasma/plasma_common.h b/src/plasma/plasma_common.h index a6fff3803..a46940d3c 100644 --- a/src/plasma/plasma_common.h +++ b/src/plasma/plasma_common.h @@ -3,6 +3,11 @@ #include #include +// TODO(pcm): Convert getopt and sscanf in the store to use more idiomatic C++ +// and get rid of the next three lines: +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif #include "logging.h" #include "status.h"