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

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