]> granicus.if.org Git - libevent/commit
cmake: don't define EVENT__NEED_DLLIMPORT always (fixes VS2013 static build)
authorAzat Khuzhin <a3at.mail@gmail.com>
Mon, 11 Jan 2016 22:37:34 +0000 (01:37 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Sat, 30 Jan 2016 20:54:03 +0000 (23:54 +0300)
commit49bd79047bc9aca3ca43fb79eac3901e7805c0df
tree823c1a44715890a6310d6ede62aef100c0ceea5b
parent4f778ab6d781f5356e8ce66c4a09a2b51446a69a
cmake: don't define EVENT__NEED_DLLIMPORT always (fixes VS2013 static build)

Otherwise that #ifdef in visibility.h is useless, and __declspec(dllimport)
will be always on.

Fixes: #314
Fixes: 4545fa9b6866df47ce2f908631a84477a94d5f49 ("Add option to build shared
library")
event-config.h.cmake