diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-07-30 11:14:15 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-07-30 11:14:15 -0400 |
commit | beac91cf086de0178ef628778a90f3cec7e51e84 (patch) | |
tree | d8c51ae990ef787d7f855ea2fd3de97ffaea41b9 /src/common/compat_winthreads.c | |
parent | 7b7cb0d779ee3ea9ff9e1cd8682662c3d0ce6813 (diff) | |
download | tor-beac91cf086de0178ef628778a90f3cec7e51e84.tar.gz tor-beac91cf086de0178ef628778a90f3cec7e51e84.zip |
Wrap windows-only C files in #ifdef _WIN32
This should make some scripts and IDEs happier.
Diffstat (limited to 'src/common/compat_winthreads.c')
-rw-r--r-- | src/common/compat_winthreads.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/compat_winthreads.c b/src/common/compat_winthreads.c index 71b994c4e4..465ef3ebed 100644 --- a/src/common/compat_winthreads.c +++ b/src/common/compat_winthreads.c @@ -3,6 +3,8 @@ * Copyright (c) 2007-2015, The Tor Project, Inc. */ /* See LICENSE for licensing information */ +#ifdef _WIN32 + #include "compat.h" #include <windows.h> #include <process.h> @@ -194,3 +196,5 @@ tor_threads_init(void) set_main_thread(); } +#endif + |