OLD | NEW |
1 /************************************************************************* | 1 /************************************************************************* |
2 * | 2 * |
3 * $Id: trio.h 1886 2003-04-03 15:28:28Z veillard $ | 3 * $Id$ |
4 * | 4 * |
5 * Copyright (C) 1998 Bjorn Reese and Daniel Stenberg. | 5 * Copyright (C) 1998 Bjorn Reese and Daniel Stenberg. |
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 * |
11 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED | 11 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED |
12 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF | 12 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF |
13 * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND | 13 * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND |
14 * CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER. | 14 * CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER. |
15 * | 15 * |
16 ************************************************************************* | 16 ************************************************************************* |
17 * | 17 * |
18 * http://ctrio.sourceforge.net/ | 18 * http://ctrio.sourceforge.net/ |
19 * | 19 * |
20 ************************************************************************/ | 20 ************************************************************************/ |
21 | 21 |
22 #ifndef TRIO_TRIO_H | 22 #ifndef TRIO_TRIO_H |
23 #define TRIO_TRIO_H | 23 #define TRIO_TRIO_H |
24 | 24 |
25 #if !defined(WITHOUT_TRIO) | 25 #if !defined(WITHOUT_TRIO) |
26 | 26 |
27 /* | 27 /* |
28 * Use autoconf defines if present. Packages using trio must define | 28 * Use autoconf defines if present. Packages using trio must define |
29 * HAVE_CONFIG_H as a compiler option themselves. | 29 * HAVE_CONFIG_H as a compiler option themselves. |
30 */ | 30 */ |
31 #if defined(HAVE_CONFIG_H) | 31 #if defined(HAVE_CONFIG_H) |
32 # include <config.h> | 32 # include "config.h" |
33 #endif | 33 #endif |
34 | 34 |
35 #include "triodef.h" | 35 #include "triodef.h" |
36 | 36 |
37 #include <stdio.h> | 37 #include <stdio.h> |
38 #include <stdlib.h> | 38 #include <stdlib.h> |
39 #if defined(TRIO_COMPILER_ANCIENT) | 39 #if defined(TRIO_COMPILER_ANCIENT) |
40 # include <varargs.h> | 40 # include <varargs.h> |
41 #else | 41 #else |
42 # include <stdarg.h> | 42 # include <stdarg.h> |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 #define vdscanf trio_vdscanf | 207 #define vdscanf trio_vdscanf |
208 #endif | 208 #endif |
209 | 209 |
210 #ifdef __cplusplus | 210 #ifdef __cplusplus |
211 } /* extern "C" */ | 211 } /* extern "C" */ |
212 #endif | 212 #endif |
213 | 213 |
214 #endif /* WITHOUT_TRIO */ | 214 #endif /* WITHOUT_TRIO */ |
215 | 215 |
216 #endif /* TRIO_TRIO_H */ | 216 #endif /* TRIO_TRIO_H */ |
OLD | NEW |