Annotation of parser3/src/include/pa_config_includes.h, revision 1.6
1.5 paf 1: /** @file
2: Parser: includes all Configure-d headers
3:
4: Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
5:
6: Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)
7:
1.6 ! paf 8: $Id: pa_config_includes.h,v 1.5 2001/04/26 15:09:05 paf Exp $
1.5 paf 9:
10:
11: when used Configure [HAVE_CONFIG_H] it uses defines from Configure,
12: fixed otherwise.
13: */
14:
1.1 paf 15: #if HAVE_CONFIG_H
16: # include "pa_config_auto.h"
17: #else
18: # include "pa_config_fixed.h"
1.6 ! paf 19: #endif
! 20:
! 21: #ifndef inline
! 22: /* there must be 'inline' to compile parser */
! 23: # define inline inline
1.1 paf 24: #endif
25:
1.3 paf 26: #ifdef HAVE_CTYPE_H
27: # include <ctype.h>
28: #endif
29:
30: #ifdef HAVE_ERRNO_H
31: # include <errno.h>
32: #endif
33:
34: #ifdef HAVE_FCNTL_H
35: # include <fcntl.h>
36: #endif
37:
38: #ifdef HAVE_IO_H
39: # include <io.h>
40: #endif
41:
42: #ifdef HAVE_PROCESS_H
43: # include <process.h>
44: #endif
45:
1.1 paf 46: #ifdef HAVE_STDARG_H
47: # include <stdarg.h>
48: #endif
49:
1.3 paf 50: #ifdef HAVE_STDIO_H
51: # include <stdio.h>
52: #endif
53:
54: #ifdef HAVE_SYS_STAT_H
55: # include <sys/stat.h>
56: #endif
57:
58: #if defined(HAVE_UNISTD_H) && !defined(NO_UNISTD_H)
1.1 paf 59: # include <unistd.h>
60: #endif
1.3 paf 61:
62: #ifdef HAVE_MATH_H
63: # include <math.h>
64: #endif
65:
66: #ifdef HAVE_TIME_H
67: # include <time.h>
68: #endif
69:
70: #ifdef HAVE_STDLIB_H
71: # include <stdlib.h>
72: #endif
73:
74: #ifdef HAVE_STRING_H
75: # include <string.h>
76: #endif
77:
1.4 paf 78: #ifdef HAVE_DIRECT_H
79: # include <direct.h>
80: #endif
E-mail: