Commit d5a04238 authored by Peter Griess's avatar Peter Griess Committed by Sara Golemon

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
parent d6ed81ca
...@@ -72,9 +72,9 @@ ...@@ -72,9 +72,9 @@
#endif #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. * another macro expansion.
*/ */
#define FB_STRINGIZE(name) #name #define FB_STRINGIZE(x) #x
#endif // FOLLY_PREPROCESSOR_ #endif // FOLLY_PREPROCESSOR_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment