?? hpux.h
字號:
// (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./* * @$Id: hpux.h,v 1.1 2003/11/24 12:16:56 kleanthis Exp $ */// hpux specific config options:#define AMBULANT_PLATFORM "HP-UX"// In principle, HP-UX has a nice <stdint.h> under the name <inttypes.h>// However, it has the following problem:// Use of UINT32_C(0) results in "0u l" for the preprocessed source// (verifyable with gcc 2.95.3, assumed for HP aCC)// #define AMBULANT_HAS_STDINT_H#define AMBULANT_NO_SWPRINTF #define AMBULANT_NO_CWCTYPE// boilerplate code:#define AMBULANT_HAS_UNISTD_H#include <ambulant/config/posix_features.h>// HPUX has an incomplete pthreads implementation, so it doesn't// define _POSIX_THREADS, but it might be enough to implement// Boost.Threads.#if !defined(AMBULANT_HAS_PTHREADS) && defined(_POSIX_THREAD_ATTR_STACKADDR)# define AMBULANT_HAS_PTHREADS #endif// the following are always available:#ifndef AMBULANT_HAS_GETTIMEOFDAY# define AMBULANT_HAS_GETTIMEOFDAY#endif#ifndef AMBULANT_HAS_SCHED_YIELD# define AMBULANT_HAS_SCHED_YIELD#endif#ifndef AMBULANT_HAS_PTHREAD_MUTEXATTR_SETTYPE# define AMBULANT_HAS_PTHREAD_MUTEXATTR_SETTYPE#endif#ifndef AMBULANT_HAS_NL_TYPES_H# define AMBULANT_HAS_NL_TYPES_H#endif#ifndef AMBULANT_HAS_NANOSLEEP# define AMBULANT_HAS_NANOSLEEP#endif#ifndef AMBULANT_HAS_GETTIMEOFDAY# define AMBULANT_HAS_GETTIMEOFDAY#endif#ifndef AMBULANT_HAS_DIRENT_H# define AMBULANT_HAS_DIRENT_H#endif#ifndef AMBULANT_HAS_CLOCK_GETTIME# define AMBULANT_HAS_CLOCK_GETTIME#endif#ifndef AMBULANT_HAS_SIGACTION# define AMBULANT_HAS_SIGACTION#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -