[or-cvs] r14927: Fix compile on Windows, maybe. (in tor/branches/tor-0_2_0-patches: . src/or)

arma at seul.org arma at seul.org
Wed Jun 4 06:35:42 UTC 2008


Author: arma
Date: 2008-06-04 02:35:42 -0400 (Wed, 04 Jun 2008)
New Revision: 14927

Modified:
   tor/branches/tor-0_2_0-patches/ChangeLog
   tor/branches/tor-0_2_0-patches/src/or/config.c
Log:
Fix compile on Windows, maybe.


Modified: tor/branches/tor-0_2_0-patches/ChangeLog
===================================================================
--- tor/branches/tor-0_2_0-patches/ChangeLog	2008-06-04 03:53:33 UTC (rev 14926)
+++ tor/branches/tor-0_2_0-patches/ChangeLog	2008-06-04 06:35:42 UTC (rev 14927)
@@ -1,6 +1,7 @@
 Changes in version 0.2.0.28-rc - 2008-06-??
   o Minor fixes:
     - Fix unit tests in 0.2.0.27-rc. [Actually, one is still broken!]
+    - Fix compile on Windows.
 
 
 Changes in version 0.2.0.27-rc - 2008-06-03

Modified: tor/branches/tor-0_2_0-patches/src/or/config.c
===================================================================
--- tor/branches/tor-0_2_0-patches/src/or/config.c	2008-06-04 03:53:33 UTC (rev 14926)
+++ tor/branches/tor-0_2_0-patches/src/or/config.c	2008-06-04 06:35:42 UTC (rev 14927)
@@ -606,6 +606,9 @@
                *(uint32_t*)STRUCT_VAR_P(cfg,fmt->magic_offset));        \
   STMT_END
 
+#ifdef MS_WINDOWS
+static char *get_windows_conf_root(void);
+#endif
 static void config_line_append(config_line_t **lst,
                                const char *key, const char *val);
 static void option_clear(config_format_t *fmt, or_options_t *options,



More information about the tor-commits mailing list