Define a macro to indicate that we have defined one of the optional evthread_use macros

svn:r1355
This commit is contained in:
Nick Mathewson 2009-07-17 20:22:48 +00:00
parent 69601fc2f6
commit ed038295cd

View 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