Sprout/sprout/predef/language/objc.hpp

27 lines
808 B
C++
Raw Normal View History

/*=============================================================================
Copyright (c) 2011-2017 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_LANGUAGE_OBJC_HPP
#define SPROUT_PREDEF_LANGUAGE_OBJC_HPP
#include <sprout/config.hpp>
#define SPROUT_LANG_OBJC 0
#if defined(__OBJC__)
2016-04-05 02:57:06 +00:00
# undef SPROUT_LANG_OBJC
# define SPROUT_LANG_OBJC 1
#endif
#if SPROUT_LANG_OBJC
2016-04-05 02:57:06 +00:00
# define SPROUT_LANG_OBJC_AVAILABLE
#endif
#define SPROUT_LANG_OBJC_NAME "Objective-C"
#endif // #ifndef SPROUT_PREDEF_LANGUAGE_OBJC_HPP