source: git/misc/mylimits.h @ 2cec00

spielwiese
Last change on this file since 2cec00 was 17e58bd, checked in by Oleksandr Motsak <motsak@…>, 14 years ago
Adding more warnings to the debug build output!
  • Property mode set to 100644
File size: 629 bytes
RevLine 
[3aae0e]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/* on IRIX-6 machines, the values in <limits.h>
10* do not reflect the code generated by gcc -
11* so we have to use our own
12* (will result in "redefining warnings")
13*/
14
[81bff55]15#ifndef _MYLIMITS_H
16
[3aae0e]17#ifdef IRIX
[17e58bd]18#include <omlimits.h>
[3aae0e]19#else
20#include <limits.h>
[81bff55]21
[3aae0e]22#endif
23
[81bff55]24
25
26static const int MAX_INT_VAL = INT_MAX;
27
28
29
30#endif /* _MYLIMITS_H */
Note: See TracBrowser for help on using the repository browser.