OpendTect  6.6
msvcdefs.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: A.H.Bril
8  Date: Mar 2006
9  RCS: $Id$
10 ________________________________________________________________________
11 
12  For use with Microsoft Visual C++ 8.0 and 9.0
13 
14 -*/
15 
16 #include <stdlib.h>
17 
18 #define NOMINMAX // Otherwise Windows will define min/max
19 
20 #if defined(_MSC_VER) && _MSC_VER == 1500 // && _MSC_FULL_VER >= 150030729
21 # define Interval StructuredQueryInterval
22 # include <structuredquery.h>
23 # undef Interval
24 #endif
25 
26 #ifdef _DEBUG
27 # define __debug__
28 #endif
29 
30 #define snprintf _snprintf
31 #define isnan _isnan
32 
33 #define strncasecmp _strnicmp
34 #define strcasecmp stricmp
35 
36 #define strtoll _strtoi64
37 #define strtoull _strtoui64
38 #define strdup _strdup
39 #define strtof strtod
40 
41 #define finite _finite
42 #define atoll _atoi64
43 
44 # define mMaxFilePathLength _MAX_PATH
45 

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2021