Image Utilities (IU)
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Groups Pages
iuioapi.h
1 #pragma once
2 
3 //-----------------------------------------------------------------------------
4 /* Shared lib macros for windows dlls
5 */
6 #ifdef _WIN32
7  #pragma warning( disable : 4251 ) // disable the warning about exported template code from stl
8  #pragma warning( disable : 4231 ) // disable the warning about nonstandard extension in e.g. istream
9 
10  // iuio module
11  #ifdef IUIO_USE_STATIC
12  #define IUIO_DLLAPI
13  #else
14  #ifdef IUIO_DLL_EXPORTS
15  #define IUIO_DLLAPI __declspec(dllexport)
16  #else
17  #define IUIO_DLLAPI __declspec(dllimport)
18  #endif
19  #endif
20 #else
21  #define IUIO_DLLAPI
22 #endif
23