projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Define "__STDC_FORMAT_MACROS" for using PRI{u,x}64 in C++.
[folly.git]
/
folly
/
test
/
StringTest.cpp
diff --git
a/folly/test/StringTest.cpp
b/folly/test/StringTest.cpp
index c01cca5ddf07776b618211eaba06087571a2de23..a736fbbe65633dd3b46dd9cf62c8cb110ec4f2f5 100644
(file)
--- a/
folly/test/StringTest.cpp
+++ b/
folly/test/StringTest.cpp
@@
-14,8
+14,14
@@
* limitations under the License.
*/
+#ifndef __STDC_FORMAT_MACROS
+#define __STDC_FORMAT_MACROS 1
+#endif
+
#include <folly/String.h>
+#include <cinttypes>
+
#include <boost/regex.hpp>
#include <gtest/gtest.h>