File: config.h

package info (click to toggle)
cxref 1.6a-1.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,124 kB
  • ctags: 1,502
  • sloc: ansic: 18,209; yacc: 2,086; sh: 917; lex: 460; perl: 452; makefile: 418; lisp: 256; cpp: 188; python: 80
file content (98 lines) | stat: -rw-r--r-- 2,189 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/***************************************
  $Header: /home/amb/cxref/cpp/RCS/config.h 1.11 2004/11/06 17:30:46 amb Exp $

  System configuration header file config.h.
  ******************/ /******************
  Written by Andrew M. Bishop

  This file consists of parts taken from GCC.

  GNU CC is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2, or (at your option)
  any later version.
  ***************************************/


#ifndef CONFIG_H
#define CONFIG_H    /*+ To stop multiple inclusions. +*/

/* The configure script output. */

#include "autoconfig.h"


/* An unmodified file from the gcc distribution. */

#include "gansidecl.h"


/* The package name for internationalisation. */

#define PACKAGE "gcc"


/* This describes the machine the compiler is hosted on
   (to sufficient accuracy for the pre-processor to compile). */

#define BITS_PER_UNIT 8

#define HOST_BITS_PER_INT (SIZEOF_INT*BITS_PER_UNIT)

#define HOST_BITS_PER_LONG (SIZEOF_LONG*BITS_PER_UNIT)

#define HOST_BITS_PER_LONGLONG (SIZEOF_LONG_LONG*BITS_PER_UNIT)

#define BITS_PER_WORD (SIZEOF_LONG*BITS_PER_UNIT)


/* Define results of standard character escape sequences. */

#if defined(mvs)
#define TARGET_BELL	47
#define TARGET_BS	22
#define TARGET_TAB	5
#define TARGET_NEWLINE	21
#define TARGET_VT	11
#define TARGET_FF	12
#define TARGET_CR	13
#else
#define TARGET_BELL    007
#define TARGET_BS      010
#define TARGET_TAB     011
#define TARGET_NEWLINE 012
#define TARGET_VT      013
#define TARGET_FF      014
#define TARGET_CR      015
#endif


/* Need this for AIX apparently. */

#if defined(_AIX)
#pragma alloca
#endif


/* Exit codes. */

#ifndef FATAL_EXIT_CODE
#define FATAL_EXIT_CODE 33	/* gcc command understands this. */
#endif

#ifndef SUCCESS_EXIT_CODE
#define SUCCESS_EXIT_CODE 0	/* 0 means success on Unix. */
#endif


/* Function prototypes for cccp.c malloc wrapper etc. */

#include <sys/types.h>

PTR xmalloc PROTO((size_t));
PTR xrealloc PROTO((PTR, size_t));
PTR xcalloc PROTO((size_t, size_t));
char *xstrdup PROTO((const char *));


#endif /* CONFIG_H */