OpendTect  6.3
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 ________________________________________________________________________
10 
11  For use with Microsoft Visual C++ 8.0 and 9.0
12 
13 -*/
14 
15 #include <stdlib.h>
16 
17 #define NOMINMAX // Otherwise Windows will define min/max
18 
19 #if defined(_MSC_VER) && _MSC_VER == 1500 // && _MSC_FULL_VER >= 150030729
20 # define Interval StructuredQueryInterval
21 # include <structuredquery.h>
22 # undef Interval
23 #endif
24 
25 #ifdef _DEBUG
26 # define __debug__
27 #endif
28 
29 #define snprintf _snprintf
30 #define isnan _isnan
31 
32 #define strncasecmp _strnicmp
33 #define strcasecmp stricmp
34 
35 #define strtoll _strtoi64
36 #define strtoull _strtoui64
37 #define strdup _strdup
38 #define strtof strtod
39 
40 #define finite _finite
41 #define atoll _atoi64
42 
43 # define mMaxFilePathLength _MAX_PATH

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