GlobalObjects
Loading...
Searching...
No Matches
EuToolTypes.h
Go to the documentation of this file.
1#ifndef INC_EUTOOLTYPES_H
2#define INC_EUTOOLTYPES_H
3
4//-----------------------------------------------------------------------------
43//-----------------------------------------------------------------------------
44#include "EuToolErrors.h"
45#include "EuDef_NULL_PTR.h"
46//-----------------------------------------------------------------------------
56#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__MINGW64__)
57 #ifdef __TOOL_EXPORT_DLL
58 #define __tool_export_dll __declspec(dllexport)
59 #if defined(_MSC_VER)
60 #pragma message ( "Benutze Export defines fuer __tool_export_dll" )
61 #endif
62 #else
63 #define __tool_export_dll //__declspec(dllimport)
64 #if defined(_MSC_VER)
65 #pragma message ( "Benutze Import defines fuer __tool_export_dll" )
66 #endif
67 #endif
68#elif defined(__GNUC__)
69 #ifdef __TOOL_EXPORT_DLL
70 #define __tool_export_dll //__attribute__ ((visibility("default")))
71 #else
72 #define __tool_export_dll //__attribute__ ((visibility ("hidden")))
73 #endif
74#endif
75//-----------------------------------------------------------------------------
76#endif
This file exists so that the definition of NULL_PTR is centrally available.
For each library, here 'EuTools' there is an error file.