?? unix.h
字號:
#ifndef LEDA_SYS_UNIX_H#define LEDA_SYS_UNIX_H//----------------------------------------------------------------------------// system/compiler dependent definitions //----------------------------------------------------------------------------// In the first section of this file some flags are defined indicating// that certain c++ features are supported or not by particular compilers. // If your compiler does not appear you may have to add it.// // __HAS_BUILTIN_BOOL__ : has built-in boolean// __HAS_VALUES_H__ : has <values.h> header file // __NO_TEMPLATE_FUNCTIONS__ : no function templates (or to many problems)// __NO_TEMPLATE_ARG_BASE__ : template arguments may not be used as base class// __NO_EXPLICIT_DESTRUCTION__: no explicit destructor call// __NO_INPLACE_NEW__ : no in-place new operator// __NO_VOLATILE__ : no "volatile" keyword// __ELSE_SCOPE_BUG__ : else-part does not start new scope#if !defined(unix) #define unix#endif#if defined(__SVR4) || defined(_SYSTYPE_SVR4) || defined(__SYSTYPE_SVR4)#if !defined(__svr4__)#define __svr4__#endif#endif#if !defined(__GNUC__)#if defined(hpux)#define __hpuxcc__#endif#if defined(mips) && _COMPILER_VERSION < 602#define __mipspro_before_602__#endif#endif#define __HAS_VALUES_H__#define __TEMPLATE_FUNCTIONS__#if defined(_BOOL) || defined(__GNUC__)#define __HAS_BUILTIN_BOOL__#endif#if defined(__hpuxcc__) || defined(__mipspro_before_602__)#define __ELSE_SCOPE_BUG__#endif#if defined(__ATTCFRONT__) || defined(__lucid) || defined(__hpuxcc__) #define __NO_TEMPLATE_ARG_BASE__#endif#if defined(__DECCXX)#define __NO_EXPLICIT_DESTRUCTION__#endif#if defined(__ATTCFRONT__)#define __NO_EXPLICIT_DESTRUCTION__#endif#if defined(__mipspro_before_602__)#define __NO_EXPLICIT_DESTRUCTION__#endif#if defined(__xlC__)#define __NO_EXPLICIT_DESTRUCTION__#endif#if defined(__IBMCPP__)#define __NO_EXPLICIT_DESTRUCTION__#endif#if defined(__hpuxcc__)#define __NO_VOLATILE__#endif#if defined(linux)#define LITTLE_ENDIAN_MACHINE#if defined(__GNUC__) && defined(__i386__)#include <i386/fpu_control.h>static int setdouble_ieee_for_linux_gnu = (__setfpucw(4735),0);// note: 639 (0x027f) seems also okay.// This sets internal rounding of FPU to double (not extended) format// and leaves rounding to nearest as well as exceptions unchanged.// The above fix was found with the help of Stefan Funke (thanxalot)// who understood and corrected the hints of Jonathan Shewchuk.// See http://pecan.srv.cs.cmu.edu:80/afs/cs/project/quake/public/www/robust.pc.html#endif#endif#if defined(__STDC__)#define STRINGIZE(x) #x#else#define STRINGIZE(x) "x"#endif#define __exportC#define __exportF#define __exportD#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -