mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Wrap windows-only C files in #ifdef _WIN32
This should make some scripts and IDEs happier.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user