diff options
Diffstat (limited to 'src/third_party/wiredtiger/examples/c/ex_thread.c')
-rw-r--r-- | src/third_party/wiredtiger/examples/c/ex_thread.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/examples/c/ex_thread.c b/src/third_party/wiredtiger/examples/c/ex_thread.c index 7c52d3b8189..fa82bd5f113 100644 --- a/src/third_party/wiredtiger/examples/c/ex_thread.c +++ b/src/third_party/wiredtiger/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 |