1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00
Sprout/sprout/predef/library/c/uc.hpp
2015-12-06 14:34:37 +09:00

29 lines
969 B
C++

/*=============================================================================
Copyright (c) 2011-2015 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_LIBRARY_C_UC_HPP
#define SPROUT_PREDEF_LIBRARY_C_UC_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/c/prefix.hpp>
#include <sprout/predef/version_number.hpp>
#define SPROUT_LIB_C_UC 0
#if defined(__UCLIBC__)
# undef SPROUT_LIB_C_UC
# define SPROUT_LIB_C_UC \
SPROUT_VERSION_NUMBER(__UCLIBC_MAJOR__, __UCLIBC_MINOR__, __UCLIBC_SUBLEVEL__)
#endif
#if SPROUT_LIB_C_UC
# define SPROUT_LIB_C_UC_AVAILABLE
#endif
#define SPROUT_LIB_C_UC_NAME "uClibc"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_C_UC_HPP