1
1

Silence warnings when threads are enabled

This commit was SVN r27550.
This commit is contained in:
Ralph Castain 2012-11-01 03:34:51 +00:00
parent e61c00212d
commit bc54976f13

View File

@ -98,12 +98,12 @@ OPAL_DECLSPEC int opal_event_init(void);
/* thread support APIs */
#if OPAL_EVENT_HAVE_THREAD_SUPPORT
#ifdef WIN32
#define opal_event_use_threads(x) evthread_use_windows_threads(x)
#define opal_event_use_threads() evthread_use_windows_threads()
#else
#define opal_event_use_threads(x) evthread_use_pthreads(x)
#define opal_event_use_threads() evthread_use_pthreads()
#endif
#else
#define opal_event_use_threads(x)
#define opal_event_use_threads()
#endif
/* Basic event APIs */