Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
export.h
Go to the documentation of this file.
1 #pragma once
2 
3 //#ifdef _DEBUG
4 //# define _CTRDBG_MAP_ALLOC
5 //# include <stdlib.h>
6 //# include <crtdbg.h>
7 //#endif
13 #ifdef _WIN32
14 # define EXPORT_TAG __declspec(dllexport)
15 # define IMPORT_TAG __declspec(dllimport)
16 # ifdef NDEBUG // Necessary to get around weird warnings given in the STL classes in a release compile.
17 # pragma warning(disable:4702)
18 # undef _DEBUG
19 # endif
20 # ifdef __INTEL_COMPILER
21 # define INTELCOMP
22 # else
23 # define VSCOMP
24 # pragma warning(disable:4275)
25 # endif
26 # if _MSC_VER >= 1910
27 # define VS2017
28 # endif
29 # if _MSC_VER >= 1920
30 # define VS2019
31 # endif
32 #endif
33 #ifdef __LINUX
34 # define EXPORT_TAG
35 # define IMPORT_TAG
36 #endif
37 
39 // EoF