Commit 0c1113b9 authored by Orvid King's avatar Orvid King Committed by facebook-github-bot-1

Add MSVC support for FOLLY_FINAL and FOLLY_OVERRIDE

Summary: This adds MSVC support for `FOLLY_FINAL` and `FOLLY_OVERRIDE`.
Closes #258

Reviewed By: @yfeldblum

Differential Revision: D2283502

Pulled By: @sgolemon
parent 90db5bb6
...@@ -160,6 +160,9 @@ struct MaxAlign { char c; } __attribute__((__aligned__)); ...@@ -160,6 +160,9 @@ struct MaxAlign { char c; } __attribute__((__aligned__));
# if defined(__clang__) || __GNUC_PREREQ(4, 7) # if defined(__clang__) || __GNUC_PREREQ(4, 7)
# define FOLLY_FINAL final # define FOLLY_FINAL final
# define FOLLY_OVERRIDE override # define FOLLY_OVERRIDE override
# elif defined(_MSC_VER) && _MSC_VER >= 1600
# define FOLLY_FINAL final
# define FOLLY_OVERRIDE override
# else # else
# define FOLLY_FINAL /**/ # define FOLLY_FINAL /**/
# define FOLLY_OVERRIDE /**/ # define FOLLY_OVERRIDE /**/
......
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