mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
All inclusions of "config.h" were removed. All places where macros defined by config.h were checked and removed Small corrections for mac os. Unused code in file OSD_Disk.cxx was removed. Unused macros and includes were removed from samples and code. Added necessary includes for MacOS. Correct new additional compilation warning on Linux platform. Fix for error in OSD_Chronometer on Debian70/Fedora18
45 lines
1.1 KiB
C
45 lines
1.1 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
|
|
|
|
#if defined(_MSC_VER) && !defined(WNT)
|
|
#error "Wrong compiler options has been detected. Add /DWNT option for proper compilation!!!!!"
|
|
#endif
|
|
|
|
#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
|
|
|