From ed038295cdaf1095776f2849b05b9c685fdc78f2 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 17 Jul 2009 20:22:48 +0000 Subject: [PATCH] Define a macro to indicate that we have defined one of the optional evthread_use macros svn:r1355 --- include/event2/thread.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.40.0