trawick 01/01/29 08:16:10
Modified: include apr_user.h
Log:
use a form of preprocessing which buildexports.awk can handle;
exports.c now compiles on Unix, as it no longer tries to reference
the macros apr_compare_users() or apr_compare_groups()
Revision Changes Path
1.8 +2 -2 apr/include/apr_user.h
Index: apr_user.h
===================================================================
RCS file: /home/cvs/apr/include/apr_user.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- apr_user.h 2001/01/28 23:20:47 1.7
+++ apr_user.h 2001/01/29 16:16:08 1.8
@@ -117,7 +117,7 @@
* @tip Returns APR_SUCCESS if the apr_uid_t strutures identify the same
user,
* APR_EMISMATCH if not, APR_BADARG if an apr_uid_t is invalid.
*/
-#ifdef WIN32
+#if defined(WIN32)
APR_DECLARE(apr_status_t) apr_compare_users(apr_uid_t left, apr_uid_t right);
#else
#define apr_compare_users(left,right) ((left == right) ? APR_SUCCESS :
APR_EMISMATCH)
@@ -141,7 +141,7 @@
* @tip Returns APR_SUCCESS if the apr_gid_t strutures identify the same
group,
* APR_EMISMATCH if not, APR_BADARG if an apr_gid_t is invalid.
*/
-#ifdef WIN32
+#if defined(WIN32)
APR_DECLARE(apr_status_t) apr_compare_groups(apr_gid_t left, apr_gid_t
right);
#else
#define apr_compare_groups(left,right) ((left == right) ? APR_SUCCESS :
APR_EMISMATCH)