spielwiese
Last change
on this file since a2cdd62 was
a2cdd62,
checked in by Hans Schoenemann <hannes@…>, 12 years ago
|
fix: avoid limits.h
|
-
Property mode set to
100644
|
File size:
544 bytes
|
Line | |
---|
1 | /* -*-c++-*- */ |
---|
2 | /******************************************************************* |
---|
3 | * File: mylimits.h |
---|
4 | * Purpose: limits.h configuration for omalloc |
---|
5 | * Author: hannes (Hans Schoenemann) |
---|
6 | * Created: 03/01 |
---|
7 | * Version: $Id$ |
---|
8 | *******************************************************************/ |
---|
9 | #ifndef _MYLIMITS_H |
---|
10 | #define _MYLIMITS_H |
---|
11 | |
---|
12 | static const int MAX_INT_VAL = 2147483647; |
---|
13 | |
---|
14 | #define ULONG_MAX (~0L) |
---|
15 | |
---|
16 | #if ~0UL == 4294967295UL |
---|
17 | #define LONG_MAX 9223372036854775807L |
---|
18 | #else |
---|
19 | #define LONG_MAX 2147483647L |
---|
20 | #endif |
---|
21 | |
---|
22 | #endif /* _MYLIMITS_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.