diff options
author | valerino <valerino@te4i.com> | 2010-05-20 22:53:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-05-24 11:46:45 -0400 |
commit | 8d31141ccbdbeee9589d04ea99819af7aa35193b (patch) | |
tree | 42b596b609a885d04a6a985b07b95fbd4d4ce015 /src/or/or.h | |
parent | ddf250119df44927c424512f286a3255aea1d16b (diff) | |
download | tor-8d31141ccbdbeee9589d04ea99819af7aa35193b.tar.gz tor-8d31141ccbdbeee9589d04ea99819af7aa35193b.zip |
Port Tor to work on Windows CE
Most of the changes here are switches to use APIs available on Windows
CE. The most pervasive change is that Windows CE only provides the
wide-character ("FooW") variants of most of the windows function, and
doesn't support the older ASCII verions at all.
This patch will require use of the wcecompat library to get working
versions of the posix-style fd-based file IO functions.
[commit message by nickm]
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 9c613d28d1..ec8dd3a5dc 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -4377,8 +4377,10 @@ void networkstatus_free_all(void); /********************************* ntmain.c ***************************/ #ifdef MS_WINDOWS +#if !defined (WINCE) #define NT_SERVICE #endif +#endif #ifdef NT_SERVICE int nt_service_parse_options(int argc, char **argv, int *should_exit); |