From: Michael Lee Date: Wed, 13 Jan 2016 00:22:47 +0000 (-0800) Subject: Add a preprocessor guard around __STDC_LIMIT_MACROS in IOBuf.cpp X-Git-Tag: deprecate-dynamic-initializer~157 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c79d034bee402566c8f907a60c86d65c75519e69;p=folly.git Add a preprocessor guard around __STDC_LIMIT_MACROS in IOBuf.cpp Summary: Adding the standard preprocessor guard around the `#define __STD_LIMIT_MACROS` in IOBuf.cpp. public Reviewed By: knekritz Differential Revision: D2825816 fb-gh-sync-id: 191824ec8d1f837e2b8380a2f8451972c421ceaa --- diff --git a/folly/io/IOBuf.cpp b/folly/io/IOBuf.cpp index 35c4e102..09ec25b6 100644 --- a/folly/io/IOBuf.cpp +++ b/folly/io/IOBuf.cpp @@ -14,7 +14,9 @@ * limitations under the License. */ +#ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS +#endif #include