source: git/libpolys/misc/mylimits.h @ d914cf0

spielwiese
Last change on this file since d914cf0 was ccd333, checked in by Mohamed Barakat <mohamed.barakat@…>, 13 years ago
- seperated public config macros in omalloc from private ones - deleted OM_PROVIDE_MALLOC and OM_EMULATE_OMALLOC - protect libpolys/misc/mylimits.h from double-include - enlarged .gitignore :)
  • Property mode set to 100644
File size: 656 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/* 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
15#ifndef _MYLIMITS_H
16#define _MYLIMITS_H
17#ifdef IRIX
18#include <omalloc/omlimits.h>
19#else
20#include <limits.h>
21
22#endif
23
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.