File: config.h

package info (click to toggle)
cxref 1.4-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,392 kB
  • ctags: 1,519
  • sloc: ansic: 16,776; sh: 2,233; yacc: 1,906; lex: 377; lisp: 256; makefile: 249; perl: 70
file content (69 lines) | stat: -rw-r--r-- 1,549 bytes parent folder | download
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
/***************************************
  $Header: /home/amb/cxref/cpp/RCS/config.h 1.3 1997/04/25 18:33:00 amb Exp $

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

  This file consists of parts taken from GNU CC.

  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. +*/

/* This describes the machine the compiler is hosted on.  */

#if defined(dsp1600) || defined(__H8300__)
#define HOST_BITS_PER_INT 16
#else
#define HOST_BITS_PER_INT 32
#endif

#if defined(__alpha)
#define HOST_BITS_PER_LONG 64
#elif defined(mips) && (_MIPS_SZINT==64 || defined(__mips64))
#define HOST_BITS_PER_LONG 64
#else
#define HOST_BITS_PER_LONG 32
#endif


/* Target machine dependencies. */

#include "tm.h"


/* Use System V memory functions (if needed). */

#if NEED_SVR4_STRINGS

#define bcmp(a,b,c)  memcmp(a,b,c)
#define bcopy(a,b,c) memcpy(b,a,c)
#define bzero(a,b)   memset(a,0,b)

#define index  strchr
#define rindex strrchr

#define USG
#define BSTRING

#endif


/* Exit codes. */

#ifndef FATAL_EXIT_CODE
#define FATAL_EXIT_CODE 33	/* gnu cc command understands this */
#endif

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

#endif /* CONFIG_H */