randyk 2003/06/16 23:16:37
Modified: src apreq.h
Log:
ExtUtils::XSBuilder seems to like the defines the other way around ...
Revision Changes Path
1.23 +4 -4 httpd-apreq-2/src/apreq.h
Index: apreq.h
===================================================================
RCS file: /home/cvs/httpd-apreq-2/src/apreq.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- apreq.h 17 Jun 2003 04:00:23 -0000 1.22
+++ apreq.h 17 Jun 2003 06:16:36 -0000 1.23
@@ -92,13 +92,13 @@
* @{
*/
-#ifdef WIN32
+#ifndef WIN32
+#define APREQ_DECLARE(d) APR_DECLARE(d)
+#define APREQ_DECLARE_NONSTD(d) APR_DECLARE_NONSTD(d)
+#else
#define APREQ_DECLARE(type) __declspec(dllexport) type __stdcall
#define APREQ_DECLARE_NONSTD(type) __declspec(dllexport) type
#define APREQ_DECLARE_DATA __declspec(dllexport)
-#else
-#define APREQ_DECLARE(d) APR_DECLARE(d)
-#define APREQ_DECLARE_NONSTD(d) APR_DECLARE_NONSTD(d)
#endif
#define APREQ_URL_ENCTYPE "application/x-www-form-urlencoded"