| OLD | NEW |
| 1 /************************************************************************* | 1 /************************************************************************* |
| 2 * | 2 * |
| 3 * $Id$ | 3 * $Id$ |
| 4 * | 4 * |
| 5 * Copyright (C) 2001 Bjorn Reese <breese@users.sourceforge.net> | 5 * Copyright (C) 2001 Bjorn Reese <breese@users.sourceforge.net> |
| 6 * | 6 * |
| 7 * Permission to use, copy, modify, and distribute this software for any | 7 * Permission to use, copy, modify, and distribute this software for any |
| 8 * purpose with or without fee is hereby granted, provided that the above | 8 * purpose with or without fee is hereby granted, provided that the above |
| 9 * copyright notice and this permission notice appear in all copies. | 9 * copyright notice and this permission notice appear in all copies. |
| 10 * | 10 * |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #elif defined(__BORLANDC__) | 41 #elif defined(__BORLANDC__) |
| 42 # define TRIO_COMPILER_BCB | 42 # define TRIO_COMPILER_BCB |
| 43 #endif | 43 #endif |
| 44 | 44 |
| 45 #if defined(VMS) || defined(__VMS) | 45 #if defined(VMS) || defined(__VMS) |
| 46 /* | 46 /* |
| 47 * VMS is placed first to avoid identifying the platform as Unix | 47 * VMS is placed first to avoid identifying the platform as Unix |
| 48 * based on the DECC compiler later on. | 48 * based on the DECC compiler later on. |
| 49 */ | 49 */ |
| 50 # define TRIO_PLATFORM_VMS | 50 # define TRIO_PLATFORM_VMS |
| 51 #elif defined(__OS400__) |
| 52 # define TRIO_PLATFORM_OS400 |
| 51 #elif defined(unix) || defined(__unix) || defined(__unix__) | 53 #elif defined(unix) || defined(__unix) || defined(__unix__) |
| 52 # define TRIO_PLATFORM_UNIX | 54 # define TRIO_PLATFORM_UNIX |
| 53 #elif defined(TRIO_COMPILER_XLC) || defined(_AIX) | 55 #elif defined(TRIO_COMPILER_XLC) || defined(_AIX) |
| 54 # define TRIO_PLATFORM_UNIX | 56 # define TRIO_PLATFORM_UNIX |
| 55 #elif defined(TRIO_COMPILER_DECC) || defined(__osf___) | 57 #elif defined(TRIO_COMPILER_DECC) || defined(__osf___) |
| 56 # define TRIO_PLATFORM_UNIX | 58 # define TRIO_PLATFORM_UNIX |
| 57 #elif defined(__NetBSD__) | 59 #elif defined(__NetBSD__) |
| 58 # define TRIO_PLATFORM_UNIX | 60 # define TRIO_PLATFORM_UNIX |
| 59 #elif defined(__Lynx__) | 61 #elif defined(__Lynx__) |
| 60 # define TRIO_PLATFORM_UNIX | 62 # define TRIO_PLATFORM_UNIX |
| (...skipping 30 matching lines...) Expand all Loading... |
| 91 # define TRIO_COMPILER_SUPPORTS_C94 | 93 # define TRIO_COMPILER_SUPPORTS_C94 |
| 92 # endif | 94 # endif |
| 93 # if (__STDC_VERSION__ >= 199901L) | 95 # if (__STDC_VERSION__ >= 199901L) |
| 94 # define TRIO_COMPILER_SUPPORTS_C99 | 96 # define TRIO_COMPILER_SUPPORTS_C99 |
| 95 # endif | 97 # endif |
| 96 # elif defined(TRIO_COMPILER_SUNPRO) | 98 # elif defined(TRIO_COMPILER_SUNPRO) |
| 97 # if (__SUNPRO_C >= 0x420) | 99 # if (__SUNPRO_C >= 0x420) |
| 98 # define TRIO_COMPILER_SUPPORTS_C94 | 100 # define TRIO_COMPILER_SUPPORTS_C94 |
| 99 # endif | 101 # endif |
| 100 # endif | 102 # endif |
| 103 #elif defined(TRIO_COMPILER_XLC) && defined(__EXTENDED__) |
| 104 # define TRIO_COMPILER_SUPPORTS_C89 |
| 105 # define TRIO_COMPILER_SUPPORTS_C90 |
| 106 # define TRIO_COMPILER_SUPPORTS_C94 |
| 101 #endif | 107 #endif |
| 102 | 108 |
| 103 #if defined(_XOPEN_SOURCE) | 109 #if defined(_XOPEN_SOURCE) |
| 104 # if defined(_XOPEN_SOURCE_EXTENDED) | 110 # if defined(_XOPEN_SOURCE_EXTENDED) |
| 105 # define TRIO_COMPILER_SUPPORTS_UNIX95 | 111 # define TRIO_COMPILER_SUPPORTS_UNIX95 |
| 106 # endif | 112 # endif |
| 107 # if (_XOPEN_VERSION >= 500) | 113 # if (_XOPEN_VERSION >= 500) |
| 108 # define TRIO_COMPILER_SUPPORTS_UNIX98 | 114 # define TRIO_COMPILER_SUPPORTS_UNIX98 |
| 109 # endif | 115 # endif |
| 110 # if (_XOPEN_VERSION >= 600) | 116 # if (_XOPEN_VERSION >= 600) |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 | 219 |
| 214 /* | 220 /* |
| 215 * Not all preprocessors supports the LL token. | 221 * Not all preprocessors supports the LL token. |
| 216 */ | 222 */ |
| 217 #if defined(TRIO_COMPILER_BCB) | 223 #if defined(TRIO_COMPILER_BCB) |
| 218 #else | 224 #else |
| 219 # define TRIO_COMPILER_SUPPORTS_LL | 225 # define TRIO_COMPILER_SUPPORTS_LL |
| 220 #endif | 226 #endif |
| 221 | 227 |
| 222 #endif /* TRIO_TRIODEF_H */ | 228 #endif /* TRIO_TRIODEF_H */ |
| OLD | NEW |