hpux.hpp gecode/third-party/boost/config/posix_features.hpp BOOST_PLATFORM "HP-UX" BOOST_HAS_UNISTD_H BOOST_HAS_GETTIMEOFDAY BOOST_HAS_SCHED_YIELD BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE BOOST_HAS_NL_TYPES_H BOOST_HAS_NANOSLEEP BOOST_HAS_DIRENT_H BOOST_HAS_CLOCK_GETTIME BOOST_HAS_SIGACTION BOOST_HAS_NRVO BOOST_HAS_LOG1P BOOST_HAS_EXPM1 //(C)CopyrightJohnMaddock2001-2003. //(C)CopyrightJensMaurer2001-2003. //(C)CopyrightDavidAbrahams2002. //(C)CopyrightToonKnapen2003. //(C)CopyrightBorisGubenko2006-2007. //Use,modificationanddistributionaresubjecttothe //BoostSoftwareLicense,Version1.0.(Seeaccompanyingfile //LICENSE_1_0.txtorcopyathttp://www.boost.org/LICENSE_1_0.txt) //Seehttp://www.boost.orgformostrecentversion. //hpuxspecificconfigoptions: #defineBOOST_PLATFORM"HP-UX" //Inprinciple,HP-UXhasanice<stdint.h>underthename<inttypes.h> //However,ithasthefollowingproblem: //UseofUINT32_C(0)resultsin"0ul"forthepreprocessedsource //(verifyablewithgcc2.95.3) #if(defined(__GNUC__)&&(__GNUC__>=3))||defined(__HP_aCC) #defineBOOST_HAS_STDINT_H #endif #if!(defined(__HP_aCC)||!defined(_INCLUDE__STDC_A1_SOURCE)) #defineBOOST_NO_SWPRINTF #endif #ifdefined(__HP_aCC)&&!defined(_INCLUDE__STDC_A1_SOURCE) #defineBOOST_NO_CWCTYPE #endif #ifdefined(__GNUC__) #if(__GNUC__<3)||((__GNUC__==3)&&(__GNUC_MINOR__<3)) //GNUConHP-UXdoesnotsupportthreads(checkeduptogcc3.3) #defineBOOST_DISABLE_THREADS #elif!defined(BOOST_DISABLE_THREADS) //threadssupportedfromgcc-3.3onwards: #defineBOOST_HAS_THREADS #defineBOOST_HAS_PTHREADS #endif #elifdefined(__HP_aCC)&&!defined(BOOST_DISABLE_THREADS) #defineBOOST_HAS_PTHREADS #endif //boilerplatecode: #defineBOOST_HAS_UNISTD_H #include<gecode/third-party/boost/config/posix_features.hpp> //thefollowingarealwaysavailable: #ifndefBOOST_HAS_GETTIMEOFDAY #defineBOOST_HAS_GETTIMEOFDAY #endif #ifndefBOOST_HAS_SCHED_YIELD #defineBOOST_HAS_SCHED_YIELD #endif #ifndefBOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE #defineBOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE #endif #ifndefBOOST_HAS_NL_TYPES_H #defineBOOST_HAS_NL_TYPES_H #endif #ifndefBOOST_HAS_NANOSLEEP #defineBOOST_HAS_NANOSLEEP #endif #ifndefBOOST_HAS_GETTIMEOFDAY #defineBOOST_HAS_GETTIMEOFDAY #endif #ifndefBOOST_HAS_DIRENT_H #defineBOOST_HAS_DIRENT_H #endif #ifndefBOOST_HAS_CLOCK_GETTIME #defineBOOST_HAS_CLOCK_GETTIME #endif #ifndefBOOST_HAS_SIGACTION #defineBOOST_HAS_SIGACTION #endif #ifndefBOOST_HAS_NRVO #ifndef__parisc #defineBOOST_HAS_NRVO #endif #endif #ifndefBOOST_HAS_LOG1P #defineBOOST_HAS_LOG1P #endif #ifndefBOOST_HAS_EXPM1 #defineBOOST_HAS_EXPM1 #endif