00001
00002
00003
00004
00005
00006
00007 #pragma once
00008
00009 #if defined(__clang__)
00010 # if __has_feature(cxx_override_control) || __has_extension(cxx_override_control)
00011 # define SWIFTEN_OVERRIDE override
00012 # else
00013 # define SWIFTEN_OVERRIDE
00014 # endif
00015
00016 #elif defined(__GNUC__)
00017 # if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))
00018 # define SWIFTEN_OVERRIDE override
00019 # else
00020 # define SWIFTEN_OVERRIDE
00021 # endif
00022
00023 #elif defined(_MSC_VER)
00024
00025
00026 # if _MSC_VER >= 1400
00027 # define SWIFTEN_OVERRIDE override
00028 # else
00029 # define SWIFTEN_OVERRIDE
00030 # endif
00031
00032 #else
00033 # define SWIFTEN_OVERRIDE
00034 #endif