Brad,
thanks for all gcc (GNU) related changes in the sources made. Unfortunately, you probably missed this patch (attached). It's not as complex as it should be - code for apr_unix_setup_time() shouldn't be included for more platforms, not only for NetWare, I think.


Thanks,
Pavel

Pavel Novy wrote:

Brad, here are some apr related fixes to make GNU utilities (gcc, nlmconv) on Linux and on Win32(Cygwin) and (Open)Watcom happy.

...
time.c.patch:
-------------
.../nlmstuff/bin/nlmconv.exe: warning: symbol gettimeofday imported but
not in import list

Thanks,
Pavel

--- original/srclib/apr/time/unix/time.c        Tue Nov  6 00:20:36 2001
+++ modified/srclib/apr/time/unix/time.c        Fri Dec  7 00:07:34 2001
@@ -305,6 +305,7 @@
 }
 #endif
 
+#ifndef NETWARE
 APR_DECLARE(void) apr_unix_setup_time(void)
 {
 #if !defined(HAVE_GMTOFF) && !defined(HAVE___OFFSET)
@@ -351,6 +352,7 @@
     server_gmt_offset = (apr_int32_t) difftime(t1, t2) + (was_dst ? 3600 : 0);
 #endif
 }
+#endif
 
 #ifdef NETWARE
 APR_DECLARE(void) apr_netware_setup_time(void)

Reply via email to