diff options
Diffstat (limited to 'TAO/IIOP/lib/corba/orbconf.hh.in')
-rw-r--r-- | TAO/IIOP/lib/corba/orbconf.hh.in | 202 |
1 files changed, 0 insertions, 202 deletions
diff --git a/TAO/IIOP/lib/corba/orbconf.hh.in b/TAO/IIOP/lib/corba/orbconf.hh.in deleted file mode 100644 index 62b9c0949a8..00000000000 --- a/TAO/IIOP/lib/corba/orbconf.hh.in +++ /dev/null @@ -1,202 +0,0 @@ -// @(#)orbconf.hh.in 1.2 95/09/06 -// Copyright 1995 by Sun Microsystems, Inc -// -// Build configuration file for the Inter-ORB Engine, and application -// level code using it via <corba.hh> -// -// !! Modify "orbconf.hh.in", not the file generated by "configure" !! -// -// Keep the tests in the order they're found in "configure.in". Also, keep -// in mind that all "#undef" preprocessor directives are deemed to be the -// property of "autoconf"; if those are needed in their own right, they must -// be in some other file. (For example, "#undef minor".) -// -// This file builds on work originally contributed by a team at apm.co.uk: -// Owen Rees (rtor), Guangxing Li (gxl) and Mike Beasley (mdrb). -// - -#ifndef _ORB_CONFIG_HH -#define _ORB_CONFIG_HH - -/* Define if you have the <widec.h> header file. */ -#undef HAVE_WIDEC_H - -/* Define to `int' if <sys/types.h> doesn't define. */ -#undef pid_t - -/* Define if your processor stores words with the most significant - byte first (like Motorola and SPARC, unlike Intel and VAX). */ -#undef WORDS_BIGENDIAN - -/* The number of bytes in an int. */ -#undef SIZEOF_INT - -/* The number of bytes in a long. */ -#undef SIZEOF_LONG - -/* The number of bytes in a void *. */ -#undef SIZEOF_VOID_P - -/* The number of bytes in a long long. */ -#undef SIZEOF_LONG_LONG - -/* The number of bytes in a long double. */ -#undef SIZEOF_LONG_DOUBLE - -/* The number of bytes in a bool. */ -#undef SIZEOF_BOOL - -/* Define as the return type of signal handlers (int or void). */ -#undef RETSIGTYPE - -/* Define if you don't have vprintf but do have _doprnt. */ -#undef HAVE_DOPRNT - -/* Define if you have the vprintf function. */ -#undef HAVE_VPRINTF - -/* Define if you have the gettimeofday function. */ -#undef HAVE_GETTIMEOFDAY - -/* Define if you have the strdup function. */ -#undef HAVE_STRDUP - -/* Define if you have the popen function. */ -#undef HAVE_POPEN - -/* Define if SIG_IGN is broken. */ -#undef SIG_IGN_BROKEN - -/* Define if you have h_errno declared. */ -#undef DECLARED_H_ERRNO - -/* Define if you have accept declared. */ -#undef DECLARED_ACCEPT - -/* Define if you have bind declared. */ -#undef DECLARED_BIND - -/* Define if you have connect declared. */ -#undef DECLARED_CONNECT - -/* Define if you have listen declared. */ -#undef DECLARED_LISTEN - -/* Define if you have select declared. */ -#undef DECLARED_SELECT - -/* Define if you have setsockopt declared. */ -#undef DECLARED_SETSOCKOPT - -/* Define if you have shutdown declared. */ -#undef DECLARED_SHUTDOWN - -/* Define if you have socket declared. */ -#undef DECLARED_SOCKET - -/* Define if you have gettimeofday declared. */ -#undef DECLARED_GETTIMEOFDAY - -/* Define if you have kill declared. */ -#undef DECLARED_KILL - -/* Define if you have gethostname declared. */ -#undef DECLARED_GETHOSTNAME - -/* Define if you have bzero declared. */ -#undef DECLARED_BZERO - -/* Define if you have strerror declared. */ -#undef DECLARED_STRERROR - - - -// -// Various issues not dealt with via autoconf/configure. -// - -#if !defined (_WINSOCKAPI_) - // Winsock added nonstandard APIs -# define closesocket(s) close(s) -#endif // _WINSOCKAPI_ -#ifdef minor - // some older UNIXes have namespace pollution -# undef minor -#endif // minor - - -// -// BC++ seems to have a different convention for detecting Win32 than VC++. -// -#if defined (__WIN32__) -# define _WIN32 -#endif // BC++ convention - -// -// For Win16, near/far pointers reflect same/other segment addressing. -// -#if defined (unix) || defined (_WIN32) -# define _FAR -#endif - -// -// Assume DOS/Windows if "configure" didn't get run. -// -#ifndef SIZEOF_LONG -# define SIZEOF_BOOL 0 -# ifdef _WIN32 -# define SIZEOF_INT 4 -# else // Win16 -# define SIZEOF_INT 2 -# endif // Win32/Win16 -# define SIZEOF_LONG 4 -# define SIZEOF_VOID_P 4 // "large model" or Win32 -# define SIZEOF_LONG_LONG 0 -# define SIZEOF_LONGDOUBLE 12 - -# define DECLARED_ACCEPT -# define DECLARED_BIND -# define DECLARED_CONNECT -# define DECLARED_GETHOSTNAME -# define DECLARED_H_ERRNO -# define DECLARED_LISTEN -# define DECLARED_LISTEN -# define DECLARED_SELECT -# define DECLARED_SETSOCKOPT -# define DECLARED_SHUTDOWN -# define DECLARED_SOCKET -# define DECLARED_STRERROR - -# define HAVE_STRDUP -# define HAVE_VPRINTF - -// XXX sometimes compiler gets confused about this one ... -typedef unsigned long pid_t; - -#endif // DOS/Windows - -// -// For both Win16 and Win32, DLLs (shared libraries) need to know what -// classes, functions, and data are exported. DLLs aren't quite dealt -// with here yet, it's tough to do it portably (viz. the different -// answers now used by BC++/VC++). -// -// (Wouldn't it be nice if more C++ compilers and linkers took advantage -// of syntax to help get ensure that only public interfaces get exported -// from shared libraries? Hmmm...) -// -#if defined (unix) || !defined (__BORLANDC__) -# define _EXPCLASS -# define _EXPFUNC -# define _EXPDATA -#endif - -#if defined (hpux) -# define SELECT_INT_STAR -#endif - -#ifndef HAVE_STRDUP -#define strdup(s) strcpy ((char *)malloc (strlen (s) + 1), s) -#endif - -#endif // _ORB_CONFIG_HH |