root/juggler/tags/1.0_alpha_04/acconfig.h

Revision 324, 2.0 kB (checked in by patrick, 10 years ago)

Define VJ_THREAD_SCOPE to be a supported value on a given operating
system. Currently, only IRIX is singled out to set it to
PTHREAD_SCOPE_PROCESS since that is the only value supported. The ideal
value is PTHREAD_SCOPE_SYSTEM, and that is currently the alternate value
for all other platforms.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 #ifndef _VJ_DEFINES_H_
2 #define _VJ_DEFINES_H_
3
4 /*
5  * --------------------------------------------------------------------------
6  * Library-wide configuration file.
7  * Generated from acconfig.h ($Revision$)
8  * --------------------------------------------------------------------------
9  */
10
11 @TOP@
12
13 /* Define to enable compile-time debugging blocks. */
14 #undef VJ_DEBUG
15
16 /* Define all of the following to use POSIX threads. */
17 #undef VJ_USE_PTHREADS
18 #undef VJ_THREAD_SCOPE
19 #undef _THREAD_SAFE
20 #undef RWSTD_MULTI_THREAD
21 #undef RW_MULTI_THREAD
22 #undef _REENTRANT
23
24 /* Define if using POSIX threads Draft 4. */
25 #undef _PTHREADS_DRAFT_4
26
27 /* Define if using POSIX threads Draft 10 (the "final" draft). */
28 #undef _PTHREADS_DRAFT_10
29
30 /* Define to use SGI IPC threading instead of POSIX threads. */
31 #undef VJ_SGI_IPC
32
33 /* Define to use the OpenGL API. */
34 #undef VJ_API_OPENGL
35
36 /* Define to use the Performer API. */
37 #undef VJ_API_PERFORMER
38
39 /* Define all of the following if building on IRIX. */
40 #undef VJ_OS_SGI
41 #undef _BSD_TYPES
42
43 /* Define to be either IRIX5 or IRIX6 depending on your system. */
44 #undef IRIXREL
45
46 /* Define all of the following if building on HP-UX. */
47 #undef VJ_OS_HPUX
48 #undef _HPUX_SOURCE
49 #undef _INCLUDE_TERMIO
50 #undef _CMA_NOWRAPPERS_
51 #undef notdef
52
53 /* Define if building on Digital UNIX. */
54 #undef VJ_OS_DUX
55
56 /* Define if building on FreeBSD. */
57 #undef VJ_OS_FreeBSD
58
59 /* Define if building on a platform not specified above. */
60 #undef VJ_OS_GENERIC
61
62 /* Define to match the output of running 'uname -r. */
63 #undef VJ_OS_RELEASE
64
65 /*
66  * Define to match the numeric version number of the target operating system.
67  * For example, on HP-UX 10.20:
68  *     #define VJ_OS_RELEASE_MAJOR 10
69  *     #define VJ_OS_RELEASE_MINOR 20
70  */
71 #undef VJ_OS_RELEASE_MAJOR
72 #undef VJ_OS_RELEASE_MINOR
73
74 /* Define to `unsigned int' if the u_int type is not available. */
75 #undef u_int
76
77 @BOTTOM@
78
79 /*
80  * Define this macro to replace calls to sginap(2) if sginap(2) is not
81  * avialable.
82  */
83 #ifndef HAVE_SGINAP
84 #   define sginap(x) (usleep(x * 333333))
85 #endif
86
87 #endif  /* _VJ_DEFINES_H_ */
Note: See TracBrowser for help on using the browser.