forked from boostorg/config
51 lines
1.2 KiB
C++
51 lines
1.2 KiB
C++
// (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
|
|
// distribute this software is granted provided this copyright notice appears
|
|
// in all copies. This software is provided "as is" without express or implied
|
|
// warranty, and with no claim as to its suitability for any purpose.
|
|
|
|
// See http://www.boost.org for most recent version.
|
|
|
|
// linux specific config options:
|
|
|
|
#define BOOST_PLATFORM "linux"
|
|
|
|
//
|
|
// stdint.h added to glibc 2.1.1
|
|
// We can only test for 2.1 though:
|
|
//
|
|
#if defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 1)))
|
|
#define BOOST_HAS_STDINT_H
|
|
#endif
|
|
#define BOOST_NO_SWPRINTF
|
|
|
|
#ifndef __GNUC__
|
|
//
|
|
// if the compiler is not gcc we still need to be able to parse
|
|
// the GNU system headers, some of which (mainly <stdint.h>)
|
|
// use GNU specific extensions:
|
|
//
|
|
# ifndef __extension__
|
|
# define __extension__
|
|
# endif
|
|
# ifndef __const__
|
|
# define __const__ const
|
|
# endif
|
|
# ifndef __volatile__
|
|
# define __volatile__ volatile
|
|
# endif
|
|
# ifndef __signed__
|
|
# define __signed__ signed
|
|
# endif
|
|
# ifndef __typeof__
|
|
# define __typeof__ typeof
|
|
# endif
|
|
# ifndef __inline__
|
|
# define __inline__ inline
|
|
# endif
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|