-
Notifications
You must be signed in to change notification settings - Fork 3
/
limit.h
43 lines (36 loc) · 1.36 KB
/
limit.h
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
/* $Id: limit.h,v 1.3 1994/12/24 21:04:29 cim Exp $ */
/* Copyright (C) 1994 Sverre Hvammen Johansen,
* Department of Informatics, University of Oslo.
*
* This program 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; version 2.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "config.h"
/* lex.c */
#define MAX_TEXT_CHAR 65535 /* Max size of text-objects DO NOT EDIT */
/* genexp.c */
#define STACK_SIZE 100 /* Size of stack used by genexp */
#define MAX_ARRAY_DIM 100 /* The maximum number of dimensions for arrays */
/* Define the adress of the first data location. */
#define FIRST_DATA_LOCATION ((int)(&__start_data_segment))
/* Define MAX_INT */
#if SIZEOF_LONG == 8
#define MAX_INT (~(1L<<63))
#else
#define MAX_INT (~(1L<<31))
#endif
/* Define TYPE_32_INT */
#if SIZEOF_LONG == 8
#define TYPE_32_INT int
#else
#define TYPE_32_INT long
#endif