source: Sophya/trunk/SophyaExt/JThreadsC++/JTCSrc/JTC/Config.h

Last change on this file was 1018, checked in by ansari, 25 years ago

Adaptation multiplateforme - Reza 19/5/2000

File size: 2.1 KB
RevLine 
[1016]1/* include/JTC/Config.h. Generated automatically by configure. */
2/* include/JTC/Config.h.in. Generated automatically from configure.in by autoheader. */
3/***********************************************************************
4 *
5 * Copyright (c) 2000
6 * Object Oriented Concepts, Inc.
7 * Billerica, MA, USA
8 *
9 * All Rights Reserved
10 *
11 ***********************************************************************/
12
[1018]13/* -----------------------------------------------------------
14 Modified by R. Ansari (LAL-IN2P3/CNRS) for multi-platform
15 multi-compiler support 05/2000
16-------------------------------------------------------------- */
[1016]17
[1018]18#ifndef JTCCONFIG_H_SEEN
19#define JTCCONFIG_H_SEEN
[1016]20
[1018]21/* System dependence (thread capabilities) */
[1016]22
[1018]23/* DEC/Compaq TruUnix64 (OSF1) */
24#if defined(OSF1)
[1016]25#define HAVE_POSIX_THREADS 1
26#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
27#define HAVE_PTHREAD_DELAY_NP 1
[1018]28#define HAVE_SCHED_YIELD 1
29#define HAVE_JTC_STOP 1
30#define HAVE_SCHED_H 1
[1016]31
[1018]32/* Linux */
33#elif defined(Linux)
34#define HAVE_POSIX_THREADS 1
35#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
[1016]36#define HAVE_SCHED_YIELD 1
[1018]37#define HAVE_JTC_STOP 1
38#define HAVE_SCHED_H 1
[1016]39
[1018]40/* SGI - ** To be checked ** */
41#elif defined(IRIX64)
42#define HAVE_POSIX_THREADS 1
43#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
44#define HAVE_SCHED_YIELD 1
45#define HAVE_JTC_STOP 1
46#define HAVE_SCHED_H 1
47#if !defined(__sgi)
48#define __sgi 1
49#endif
[1016]50
[1018]51/* IBM-AIX - ** To be checked ** */
52#elif defined(AIX)
53#define HAVE_POSIX_THREADS 1
54#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
55#define HAVE_SCHED_YIELD 1
[1016]56#define HAVE_JTC_STOP 1
[1018]57#define HAVE_SCHED_H 1
[1016]58
[1018]59/* Sun-Solaris - ** To be checked ** */
60#elif defined(SunOS)
61#define HAVE_POSIX_THREADS 1
62#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
63#define HAVE_SCHED_YIELD 1
64#define HAVE_JTC_STOP 1
65#define HAVE_SCHED_H 1
[1016]66
[1018]67#else
68#error Undefined OS type in JTC/Config.h
69#endif
[1016]70
[1018]71/* Compiler dependend flags */
72/* ---- g++ KCC cxx (DEC) CC (SGI) --- */
73/* All supported compilers have bool type, and exception handling */
74#define SIZEOF_BOOL 1
[1016]75#define HAVE_EXCEPTION 1
[1018]76#define HAVE_EXCEPTION_H 1 /* To be checked */
[1016]77
[1018]78#endif
[1016]79
80
81
82
83
84
85
86
87
88
Note: See TracBrowser for help on using the repository browser.