mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 08:41:11 -06:00
Initial work for G-code sender and more intensive usage of Boost
This commit is contained in:
parent
43cbad8867
commit
11dd67ab34
1649 changed files with 1860 additions and 1642 deletions
13
xs/include/boost/predef/library/c/_prefix.h
Normal file
13
xs/include/boost/predef/library/c/_prefix.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2013
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_C__PREFIX_H
|
||||
#define BOOST_PREDEF_LIBRARY_C__PREFIX_H
|
||||
|
||||
#include <boost/predef/detail/_cassert.h>
|
||||
|
||||
#endif
|
62
xs/include/boost/predef/library/c/gnu.h
Normal file
62
xs/include/boost/predef/library/c/gnu.h
Normal file
|
@ -0,0 +1,62 @@
|
|||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2013
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_C_GNU_H
|
||||
#define BOOST_PREDEF_LIBRARY_C_GNU_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
#include <boost/predef/library/c/_prefix.h>
|
||||
|
||||
#if defined(__STDC__)
|
||||
#include <stddef.h>
|
||||
#elif defined(__cplusplus)
|
||||
#include <cstddef>
|
||||
#endif
|
||||
|
||||
/*`
|
||||
[heading `BOOST_LIB_C_GNU`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Glibc GNU glibc] Standard C library.
|
||||
Version number available as major, and minor.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[`__GLIBC__`] [__predef_detection__]]
|
||||
[[`__GNU_LIBRARY__`] [__predef_detection__]]
|
||||
|
||||
[[`__GLIBC__`, `__GLIBC_MINOR__`] [V.R.0]]
|
||||
[[`__GNU_LIBRARY__`, `__GNU_LIBRARY_MINOR__`] [V.R.0]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_LIB_C_GNU BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__GLIBC__) || defined(__GNU_LIBRARY__)
|
||||
# undef BOOST_LIB_C_GNU
|
||||
# if defined(__GLIBC__)
|
||||
# define BOOST_LIB_C_GNU \
|
||||
BOOST_VERSION_NUMBER(__GLIBC__,__GLIBC_MINOR__,0)
|
||||
# else
|
||||
# define BOOST_LIB_C_GNU \
|
||||
BOOST_VERSION_NUMBER(__GNU_LIBRARY__,__GNU_LIBRARY_MINOR__,0)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if BOOST_LIB_C_GNU
|
||||
# define BOOST_LIB_C_GNU_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_LIB_C_GNU_NAME "GNU"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_GNU,BOOST_LIB_C_GNU_NAME)
|
||||
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue