randyk 2003/06/16 23:22:12
Modified: src apreq_env.h
Log:
Define non-WIN32 apreq_env first, for ExtUtils::XSBuilder.
Revision Changes Path
1.16 +3 -3 httpd-apreq-2/src/apreq_env.h
Index: apreq_env.h
===================================================================
RCS file: /home/cvs/httpd-apreq-2/src/apreq_env.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- apreq_env.h 17 Jun 2003 03:56:11 -0000 1.15
+++ apreq_env.h 17 Jun 2003 06:22:11 -0000 1.16
@@ -55,14 +55,14 @@
*
*/
-#ifdef WIN32
+#ifndef WIN32
+extern const char apreq_env[];
+#else
#if defined(MOD_APREQ_EXPORTS) || defined(LIBAPREQ_CGI_EXPORTS)
__declspec(dllexport) const char apreq_env[];
#else
__declspec(dllimport) const char apreq_env[];
#endif
-#else
-extern const char apreq_env[];
#endif
#define APREQ_DECLARE_LOG(f) APREQ_DECLARE_NONSTD(void)(f)(const char *file,
\