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

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

Adaptation multiplateforme - Reza 19/5/2000

File size: 2.1 KB
Line 
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
13/* -----------------------------------------------------------
14 Modified by R. Ansari (LAL-IN2P3/CNRS) for multi-platform
15 multi-compiler support 05/2000
16-------------------------------------------------------------- */
17
18#ifndef JTCCONFIG_H_SEEN
19#define JTCCONFIG_H_SEEN
20
21/* System dependence (thread capabilities) */
22
23/* DEC/Compaq TruUnix64 (OSF1) */
24#if defined(OSF1)
25#define HAVE_POSIX_THREADS 1
26#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
27#define HAVE_PTHREAD_DELAY_NP 1
28#define HAVE_SCHED_YIELD 1
29#define HAVE_JTC_STOP 1
30#define HAVE_SCHED_H 1
31
32/* Linux */
33#elif defined(Linux)
34#define HAVE_POSIX_THREADS 1
35#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
36#define HAVE_SCHED_YIELD 1
37#define HAVE_JTC_STOP 1
38#define HAVE_SCHED_H 1
39
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
50
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
56#define HAVE_JTC_STOP 1
57#define HAVE_SCHED_H 1
58
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
66
67#else
68#error Undefined OS type in JTC/Config.h
69#endif
70
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
75#define HAVE_EXCEPTION 1
76#define HAVE_EXCEPTION_H 1 /* To be checked */
77
78#endif
79
80
81
82
83
84
85
86
87
88
Note: See TracBrowser for help on using the repository browser.