pcs 99/03/21 08:52:33
Modified: src/modules/standard mod_env.c
Log:
Make 1.3.5 compile on Win32. The Win32 builds of 1.3.5 have this
change incorporated.
Revision Changes Path
1.27 +4 -0 apache-1.3/src/modules/standard/mod_env.c
Index: mod_env.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_env.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- mod_env.c 1999/03/20 21:51:40 1.26
+++ mod_env.c 1999/03/21 16:52:32 1.27
@@ -103,8 +103,12 @@
#include "httpd.h"
#include "http_config.h"
+#ifdef WIN32
+__declspec(dllimport) char **environ;
+#else
#include <unistd.h>
extern char **environ;
+#endif
/*
* Server-wide config info for this module