#ifndef CIPRESCONFIG_H #define CIPRESCONFIG_H #if defined(HAVE_CONFIG_H) # include /** * we undef these macros, so that multiple autoconf'd libraries can * be used together. */ # undef PACKAGE_BUGREPORT # undef PACKAGE_NAME # undef PACKAGE_STRING # undef PACKAGE_TARNAME # undef PACKAGE_VERSION #endif /** * This file uses the macros defined in config.h (presumably created * by running configure) to include some fundamental headers. * (TL - is this cipres_config.h, not config.h ?) * * This has been tested on Mac and Windows (Visual Studio .NET 2003). * Additional accommodations may be needed for some flavors of *nix. */ #if defined(_MSC_VER) # undef HAVE_COMPILE_TIME_DISPATCH #else # define HAVE_COMPILE_TIME_DISPATCH #endif /* For typedefs like uint8_t */ #if HAVE_INTTYPES_H # include #elif HAVE_STDINT_H # include #elif defined(_MSC_VER) && _MSC_VER >= 1200 # include typedef INT8 int8_t; typedef UINT8 uint8_t; typedef INT64 int64_t; typedef UINT64 uint64_t; #elif defined(_MSC_VER) typedef signed char int8_t; typedef unsigned char uint8_t; typedef long long int64_t; typedef unsigned long long uint64_t; //typedef unsigned int uint32_t; //typedef unsigned short uint16_t; #elif defined(_WIN32) # include #endif /* For size_t */ #if defined(HAVE_STDDEF_H) # include #elif defined(_MSC_VER) //# include //#include #endif /* what follows is some regrettable macro hackery for including header files while created by different IDL compilers (ACE and OmniORB). ACE wants to produce 2 different headers (S and C), while omniORB just produces one, so we have to use different include statements. */ #if defined(HAVE_OMNIORB4) && HAVE_OMNIORB4 /* omniorb just emits one header file *S.h */ # define GENERATED_STUB_HEADER(IDL_HEADER_TAG) # define CIPRES_USING_IORTABLE 0 # if defined(_MSC_VER) // avoiding Microsoft VC7 warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow) # define ACE_THROW_SPEC(X) # else # define ACE_THROW_SPEC(X) throw X # endif #else # error "only omniORB is supported" #endif #endif //multiple include guard