ifdef is more clear than ifndef here.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@454 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
parent
6baedbab55
commit
d991fbe26c
@ -24,7 +24,9 @@
|
|||||||
/*
|
/*
|
||||||
* EXPORT_SPEC
|
* EXPORT_SPEC
|
||||||
*/
|
*/
|
||||||
#ifndef UPNP_STATIC_LIB
|
#ifdef UPNP_STATIC_LIB
|
||||||
|
#define EXPORT_SPEC
|
||||||
|
#else /* UPNP_STATIC_LIB */
|
||||||
#ifdef LIBUPNP_EXPORTS
|
#ifdef LIBUPNP_EXPORTS
|
||||||
/*! set up declspec for dll export to make functions
|
/*! set up declspec for dll export to make functions
|
||||||
* visible to library users */
|
* visible to library users */
|
||||||
@ -32,8 +34,6 @@
|
|||||||
#else /* LIBUPNP_EXPORTS */
|
#else /* LIBUPNP_EXPORTS */
|
||||||
#define EXPORT_SPEC __declspec(dllimport)
|
#define EXPORT_SPEC __declspec(dllimport)
|
||||||
#endif /* LIBUPNP_EXPORTS */
|
#endif /* LIBUPNP_EXPORTS */
|
||||||
#else /* UPNP_STATIC_LIB */
|
|
||||||
#define EXPORT_SPEC
|
|
||||||
#endif /* UPNP_STATIC_LIB */
|
#endif /* UPNP_STATIC_LIB */
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user