VectorNav C Library
export.h
1 #ifndef VNEXPORT_H_INCLUDED
2 #define VNEXPORT_H_INCLUDED
3 
4 /* Not only does this have to be windows to use __declspec */
5 /* it also needs to actually be outputting a DLL */
6 #if defined _WINDOWS && defined _WINDLL
7  #if proglib_c_EXPORTS
8  #define DllExport __declspec(dllexport)
9  #else
10  #define DllExport __declspec(dllimport)
11  #endif
12 #else
13  #define DllExport
14 #endif
15 
16 #endif