 |
OpendTect
6.6
|
Go to the documentation of this file.
71 #if defined( __win64__ ) || defined ( __win32__ )
75 #if defined ( __lux32__ ) || defined ( __lux64__ )
80 #if defined( __mac__ )
86 # if defined( __clang__)
87 # if ( __clang_major__==5 ) && ( __clang_minor__==1 )
88 # ifndef __MAC_LLVM_COMPILER_ERROR__
93 # if ( __clang_major__==6 ) && ( __clang_minor__==0 )
94 # ifndef __MAC_LLVM_COMPILER_ERROR__
101 # pragma message "This version of clang is prone to errors " \
102 "Set __MAC_LLVM_COMPILER_ERROR__ to fix it"
107 # error "Platform not detected."
112 # define __islinux__ true
114 # define __islinux__ false
117 # define __ismac__ true
119 # define __ismac__ false
122 # define __iswin__ true
124 # define __iswin__ false
134 # define __little__ 1
135 # define __islittle__ true
138 # define __plfsubdir__ "win32"
139 # define __plfname__ "MS Windows 32 bits"
140 # define __is32bits__ true
143 # define __plfsubdir__ "win64"
144 # define __plfname__ "MS Windows 64 bits"
145 # define __is32bits__ false
148 # define __plfsubdir__ "lux32"
149 # define __plfname__ "Linux 32 bits"
150 # define __is32bits__ true
153 # define __plfsubdir__ "lux64"
154 # define __plfname__ "Linux 64 bits"
155 # define __is32bits__ false
158 # define __plfsubdir__ "mac"
159 # define __plfname__ "Mac"
160 # define __is32bits__ false
168 # if __cplusplus >= 201103L
173 #ifdef _LANGUAGE_C_PLUS_PLUS
195 #if defined( __win__ ) || defined( WIN32 )
201 #if defined( __win__ ) && !defined( __msvc__ )
202 # define __cygwin__ 1
207 #if defined( __gnuc__ )
208 # define mUnusedVar __attribute__ ((unused))
215 #define mDeprecated(msg) [[deprecated(msg)]]
216 #define mDeprecatedDef mDeprecated("See header file for alternatives")
217 #define mDeprecatedObs mDeprecated("This is obsolete now")
219 #if defined( __gnuc__ )
220 # define mStartAllowDeprecatedSection \
221 _Pragma ( "GCC diagnostic push" ) \
222 _Pragma ( "GCC diagnostic ignored \"-Wdeprecated-declarations\"" )
223 # define mStopAllowDeprecatedSection \
224 _Pragma ( "GCC diagnostic pop" )
225 #elif defined( __msvc__ )
226 # define mStartAllowDeprecatedSection \
227 __pragma( warning( push ) ) \
228 __pragma( warning( disable : 4996 ) )
229 # define mStopAllowDeprecatedSection \
230 __pragma( warning( pop ) )
232 # define mStartAllowDeprecatedSection
233 # define mStopAllowDeprecatedSection
237 # define mODRestrict __restrict
239 # define mODRestrict __restrict__
244 #ifndef NeedFunctionPrototypes
245 # define NeedFunctionPrototypes 1
247 #ifndef _ANSI_C_SOURCE
248 # define _ANSI_C_SOURCE 1
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021