| 1 |
/*---------------------------------------------------------------------------*\ |
|---|
| 2 |
* OpenSG * |
|---|
| 3 |
* * |
|---|
| 4 |
* * |
|---|
| 5 |
* Copyright 2000,2001 by OpenSG Forum * |
|---|
| 6 |
* * |
|---|
| 7 |
* contact: reiners@igd.fhg.de, gerrit.voss@vossg.org, jbehr@zgdv.de * |
|---|
| 8 |
* * |
|---|
| 9 |
\*---------------------------------------------------------------------------*/ |
|---|
| 10 |
/*---------------------------------------------------------------------------*\ |
|---|
| 11 |
* License * |
|---|
| 12 |
* * |
|---|
| 13 |
* * |
|---|
| 14 |
* * |
|---|
| 15 |
* * |
|---|
| 16 |
* * |
|---|
| 17 |
\*---------------------------------------------------------------------------*/ |
|---|
| 18 |
/*---------------------------------------------------------------------------*\ |
|---|
| 19 |
* Changes * |
|---|
| 20 |
* * |
|---|
| 21 |
* * |
|---|
| 22 |
* * |
|---|
| 23 |
* * |
|---|
| 24 |
* * |
|---|
| 25 |
* * |
|---|
| 26 |
\*---------------------------------------------------------------------------*/ |
|---|
| 27 |
|
|---|
| 28 |
#ifndef _OSGCONFIGURED_H_ |
|---|
| 29 |
#define _OSGCONFIGURED_H_ |
|---|
| 30 |
|
|---|
| 31 |
#if defined (OSG_USE_WINTHREADS) |
|---|
| 32 |
#undef OSG_ASPECT_USE_LOCALSTORAGE |
|---|
| 33 |
#undef OSG_ASPECT_USE_DECLSPEC |
|---|
| 34 |
#endif |
|---|
| 35 |
|
|---|
| 36 |
#if defined(OSG_WIN_TYPES) |
|---|
| 37 |
#undef OSG_BOOL_IS_UNSIGNED |
|---|
| 38 |
#endif |
|---|
| 39 |
|
|---|
| 40 |
#undef OSG_DEFAULT_LOG_LEVEL |
|---|
| 41 |
#undef OSG_DEFAULT_LOG_TYPE |
|---|
| 42 |
|
|---|
| 43 |
#ifndef OSG_DEFAULT_LOG_LEVEL |
|---|
| 44 |
# define OSG_DEFAULT_LOG_LEVEL LOG_WARNING |
|---|
| 45 |
#endif |
|---|
| 46 |
|
|---|
| 47 |
#ifndef OSG_DEFAULT_LOG_TYPE |
|---|
| 48 |
# define OSG_DEFAULT_LOG_TYPE LOG_STDERR |
|---|
| 49 |
#endif |
|---|
| 50 |
|
|---|
| 51 |
#undef OSG_PTHREAD_ELF_TLS |
|---|
| 52 |
|
|---|
| 53 |
#undef OSG_NO_GLUT_GLSUBDIR |
|---|
| 54 |
|
|---|
| 55 |
#if defined(WIN32) && ! defined(__ICL) |
|---|
| 56 |
#pragma warning( disable : 4786 4661 4305 ) |
|---|
| 57 |
#endif |
|---|
| 58 |
|
|---|
| 59 |
#undef OSG_SGI_USE_PTHREAD |
|---|
| 60 |
#undef OSG_SGI_USE_SPROC |
|---|
| 61 |
|
|---|
| 62 |
#if defined(__sgi) |
|---|
| 63 |
# if defined(OSG_SGI_USE_PTHREAD) |
|---|
| 64 |
# define OSG_USE_PTHREADS |
|---|
| 65 |
# define OSG_ASPECT_USE_PTHREADKEY |
|---|
| 66 |
# undef OSG_USE_SPROC |
|---|
| 67 |
# else |
|---|
| 68 |
# define OSG_USE_SPROC |
|---|
| 69 |
# endif |
|---|
| 70 |
#endif |
|---|
| 71 |
|
|---|
| 72 |
#undef OSG_ICC_GNU_COMPAT |
|---|
| 73 |
|
|---|
| 74 |
#undef OSG_OLD_RENDER_ACTION |
|---|
| 75 |
|
|---|
| 76 |
#undef OSG_CLEANED_RENDERACTION |
|---|
| 77 |
|
|---|
| 78 |
#undef OSG_MT_FIELDCONTAINERPTR |
|---|
| 79 |
|
|---|
| 80 |
#undef OSG_MT_CPTR_ASPECT |
|---|
| 81 |
|
|---|
| 82 |
#if defined(OSG_MT_FIELDCONTAINERPTR) && defined(OSG_MT_CPTR_ASPECT) |
|---|
| 83 |
#error Use either fcptr aspects or cptr aspects |
|---|
| 84 |
#endif |
|---|
| 85 |
|
|---|
| 86 |
#undef OSG_1_COMPAT |
|---|
| 87 |
|
|---|
| 88 |
#undef OSG_DEPRECIATED_PROPS |
|---|
| 89 |
#undef OSG_DISABLE_DEPRECATED |
|---|
| 90 |
|
|---|
| 91 |
|
|---|
| 92 |
#endif |
|---|
| 93 |
|
|---|
| 94 |
|
|---|