summaryrefslogblamecommitdiff
path: root/www/mod_auth_mysql_another/files/patch-strcat
blob: d97cf697b44f9d2d85e22989bbc3ad616d7177b6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                              










                                       
--- mod_auth_mysql.c.orig	Mon May 15 15:19:50 2006
+++ mod_auth_mysql.c	Mon May 15 15:20:06 2006
@@ -206,7 +206,7 @@
   #define SNPRINTF apr_snprintf
   #define PSTRDUP apr_pstrdup
   #define PSTRNDUP apr_pstrndup
-  #define STRCAT ap_pstrcat
+  #define STRCAT apr_pstrcat
   #define POOL apr_pool_t
   #include "http_request.h"   /* for ap_hook_(check_user_id | auth_checker)*/
   #include "ap_compat.h"
@@ -255,6 +255,10 @@
   #define NOT_AUTHORIZED AUTH_REQUIRED
   #define TABLE_GET ap_table_get
   #define ISSPACE ap_isspace
+#endif
+
+#ifndef APR_XtOffsetOf
+#define APR_XtOffsetOf APR_OFFSETOF
 #endif

 #include "util_md5.h"