Commit c5bb750f authored by unknown's avatar unknown

Portability fix to work around OS X -x86 toolchain bug with common (uninitialized data) symbols


mysys/my_pthread.c:
  Initialize thd_lib_detected for portability (OS X -x86)
parent f9b53a4e
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#define SCHED_POLICY SCHED_OTHER #define SCHED_POLICY SCHED_OTHER
#endif #endif
uint thd_lib_detected; uint thd_lib_detected= 0;
#ifndef my_pthread_setprio #ifndef my_pthread_setprio
void my_pthread_setprio(pthread_t thread_id,int prior) void my_pthread_setprio(pthread_t thread_id,int prior)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment