]> granicus.if.org Git - libevent/commitdiff
Define a macro to indicate that we have defined one of the optional evthread_use...
authorNick Mathewson <nickm@torproject.org>
Fri, 17 Jul 2009 20:22:48 +0000 (20:22 +0000)
committerNick Mathewson <nickm@torproject.org>
Fri, 17 Jul 2009 20:22:48 +0000 (20:22 +0000)
svn:r1355

include/event2/thread.h

index 7667ebceaab904431627d320149e27ff30101927..e1dd190a6fab2a6d7754a9272bb8d52d9d2486c1 100644 (file)
@@ -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