mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 04:19:10 -04:00
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")
This commit is contained in:
parent
4f778ab6d7
commit
49bd79047b
@ -526,7 +526,7 @@
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
#define EVENT__ssize_t @EVENT__ssize_t@
|
||||
|
||||
#define EVENT__NEED_DLLIMPORT @EVENT__NEED_DLLIMPORT@
|
||||
#cmakedefine EVENT__NEED_DLLIMPORT
|
||||
|
||||
/* Define to 1 if you have ERR_remove_thread_stat(). */
|
||||
#cmakedefine EVENT__HAVE_ERR_REMOVE_THREAD_STATE
|
||||
|
Loading…
x
Reference in New Issue
Block a user