From: Nick Mathewson Date: Fri, 17 Jul 2009 20:22:48 +0000 (+0000) Subject: Define a macro to indicate that we have defined one of the optional evthread_use... X-Git-Tag: release-2.0.3-alpha~174 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed038295cdaf1095776f2849b05b9c685fdc78f2;p=libevent Define a macro to indicate that we have defined one of the optional evthread_use macros svn:r1355 --- diff --git a/include/event2/thread.h b/include/event2/thread.h index 7667ebce..e1dd190a 100644 --- a/include/event2/thread.h +++ b/include/event2/thread.h @@ -112,6 +112,7 @@ int evthread_make_base_notifiable(struct event_base *base); @return 0 on success, -1 on failure. */ int evthread_use_windows_threads(void); +#define EVTHREAD_USE_WINDOWS_THREADS_IMPLEMENTED 1 #endif #ifdef _EVENT_HAVE_PTHREADS @@ -121,6 +122,7 @@ int evthread_use_windows_threads(void); @return 0 on success, -1 on failure. */ int evthread_use_pthreads(void); +#define EVTHREAD_USE_PTHREADS_IMPLEMENTED 1 #endif #ifdef __cplusplus