1 #if defined(DXFLIB_DLL)
2 #   ifdef _WIN32
3 #       if defined(DXFLIB_LIBRARY)
4 #           define DXFLIB_EXPORT    __declspec( dllexport )
5 #       else
6 #           define DXFLIB_EXPORT    __declspec( dllimport )
7 #       endif
8 #   else
9 #       define DXFLIB_EXPORT
10 #   endif
11 #else
12 #   define DXFLIB_EXPORT
13 #endif
14