initial
This commit is contained in:
16
vnproglib/c/include/vn/util/export.h
Normal file
16
vnproglib/c/include/vn/util/export.h
Normal file
@ -0,0 +1,16 @@
|
||||
#ifndef VNEXPORT_H_INCLUDED
|
||||
#define VNEXPORT_H_INCLUDED
|
||||
|
||||
/* Not only does this have to be windows to use __declspec */
|
||||
/* it also needs to actually be outputting a DLL */
|
||||
#if defined _WINDOWS && defined _WINDLL
|
||||
#if proglib_c_EXPORTS
|
||||
#define DllExport __declspec(dllexport)
|
||||
#else
|
||||
#define DllExport __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#define DllExport
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user