diff options
author | David Hows <david.hows@mongodb.com> | 2017-01-06 12:12:50 +1100 |
---|---|---|
committer | David Hows <david.hows@mongodb.com> | 2017-01-06 12:12:50 +1100 |
commit | d48181f6f4db08761ed7b80b0332908b272ad0d0 (patch) | |
tree | 38929fdcc5415ee7b001b6f1a406bd5bd777b737 /examples/c/ex_thread.c | |
parent | 040e3d6f764c0fb626cb47fede54469f57d0c6e0 (diff) | |
parent | 8d2324943364286056ae399043f70b8a937de312 (diff) | |
download | mongodb-3.2.12.tar.gz |
Merge branch 'mongodb-3.6' into mongodb-3.2mongodb-3.2.12
Diffstat (limited to 'examples/c/ex_thread.c')
-rw-r--r-- | examples/c/ex_thread.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/c/ex_thread.c b/examples/c/ex_thread.c index 7c52d3b8189..fa82bd5f113 100644 --- a/examples/c/ex_thread.c +++ b/examples/c/ex_thread.c @@ -30,14 +30,13 @@ * table from multiple threads. */ -#ifndef _WIN32 -#include <pthread.h> -#endif #include <stdio.h> #include <stdlib.h> #include <string.h> -#ifdef _WIN32 +#ifndef _WIN32 +#include <pthread.h> +#else #include "windows_shim.h" #endif |