16 lines
246 B
C
16 lines
246 B
C
|
#ifndef __DECLSPEC_H__
|
||
|
#define __DECLSPEC_H__
|
||
|
|
||
|
#if defined(WIN32) && !defined(STATICLIB)
|
||
|
#ifdef NATPMP_EXPORTS
|
||
|
#define LIBSPEC __declspec(dllexport)
|
||
|
#else
|
||
|
#define LIBSPEC __declspec(dllimport)
|
||
|
#endif
|
||
|
#else
|
||
|
#define LIBSPEC
|
||
|
#endif
|
||
|
|
||
|
#endif
|
||
|
|