mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-15 20:17:41 +08:00
1) Macro definition WNT replaced by _WIN32 and _MSC_VER for platform and compiler detection accordingly. 2) Macro definition LIN replaced by __linux__ macro. 3) Macro definition DEB replaced by OCCT_DEBUG macro.
41 lines
1.0 KiB
C
41 lines
1.0 KiB
C
/*
|
|
Copyright (c) 1991-1999 Matra Datavision
|
|
Copyright (c) 1999-2014 OPEN CASCADE SAS
|
|
|
|
This file is part of Open CASCADE Technology software library.
|
|
|
|
This library is free software; you can redistribute it and/or modify it under
|
|
the terms of the GNU Lesser General Public License version 2.1 as published
|
|
by the Free Software Foundation, with special exception defined in the file
|
|
OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
distribution for complete text of the license and disclaimer of any warranty.
|
|
|
|
Alternatively, this file may be used under the terms of Open CASCADE
|
|
commercial license or contractual agreement.
|
|
*/
|
|
|
|
#ifndef _Standard_values_HeaderFile
|
|
# define _Standard_values_HeaderFile
|
|
|
|
#ifdef _WIN32
|
|
# include <limits>
|
|
#else
|
|
# include <limits.h>
|
|
#endif
|
|
|
|
#if defined (__hpux) || defined (HPUX)
|
|
# ifdef MAXINT
|
|
# undef MAXINT
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef BITSPERBYTE
|
|
# define BITSPERBYTE CHAR_BIT
|
|
#endif
|
|
#ifndef BITS
|
|
# define BITS(type) (BITSPERBYTE * sizeof(type))
|
|
#endif
|
|
|
|
#endif
|
|
|