From: Peter Griess Date: Wed, 29 Jan 2014 17:18:12 +0000 (-0800) Subject: Change paramter name to FB_STRINGIZE X-Git-Tag: v0.22.0~717 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d5a042384b5fc138a07c285fca966a0b89283fd8;p=folly.git Change paramter name to FB_STRINGIZE Summary: - The fbobjc codebase defines this macro as well, and to the same thing. However, Clang complains on macro redefinitions if paramater names are different, even if the macros expand to the same thing. Normalize the Folly version to 'x', which is what fbobjc uses. Test Plan: - fbconfig -r folly && fbmake runtests - Builds in fbobjc Reviewed By: andrei.alexandrescu@fb.com FB internal diff: D1149985 --- diff --git a/folly/Preprocessor.h b/folly/Preprocessor.h index 86b6a35f..c7e580d8 100644 --- a/folly/Preprocessor.h +++ b/folly/Preprocessor.h @@ -72,9 +72,9 @@ #endif /** - * Use FB_STRINGIZE(name) when you'd want to do what #name does inside + * Use FB_STRINGIZE(x) when you'd want to do what #x does inside * another macro expansion. */ -#define FB_STRINGIZE(name) #name +#define FB_STRINGIZE(x) #x #endif // FOLLY_PREPROCESSOR_