mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 05:14:46 -04:00
Define a macro to indicate that we have defined one of the optional evthread_use macros
svn:r1355
This commit is contained in:
parent
69601fc2f6
commit
ed038295cd
@ -112,6 +112,7 @@ int evthread_make_base_notifiable(struct event_base *base);
|
|||||||
|
|
||||||
@return 0 on success, -1 on failure. */
|
@return 0 on success, -1 on failure. */
|
||||||
int evthread_use_windows_threads(void);
|
int evthread_use_windows_threads(void);
|
||||||
|
#define EVTHREAD_USE_WINDOWS_THREADS_IMPLEMENTED 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _EVENT_HAVE_PTHREADS
|
#ifdef _EVENT_HAVE_PTHREADS
|
||||||
@ -121,6 +122,7 @@ int evthread_use_windows_threads(void);
|
|||||||
|
|
||||||
@return 0 on success, -1 on failure. */
|
@return 0 on success, -1 on failure. */
|
||||||
int evthread_use_pthreads(void);
|
int evthread_use_pthreads(void);
|
||||||
|
#define EVTHREAD_USE_PTHREADS_IMPLEMENTED 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
x
Reference in New Issue
Block a user