From b093f7142f428254fc63f788f7a95b04141efbbc Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Tue, 1 Jun 2004 16:43:37 +0000 Subject: [PATCH] If XtOffsetOf() is already defined, don't redefine. When we need our own flavor, it must be namespace protected. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@103813 13f79535-47bb-0310-9956-ffa450edef68 --- src/include/ap_config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/ap_config.h b/src/include/ap_config.h index cde5cccd96c..11c3c9b68df 100644 --- a/src/include/ap_config.h +++ b/src/include/ap_config.h @@ -1362,11 +1362,13 @@ extern int ap_execve(const char *filename, char * const argv[], #endif /* !CRAY */ +#ifndef XtOffsetOf #ifdef offsetof #define XtOffsetOf(s_type,field) offsetof(s_type,field) #else #define XtOffsetOf(s_type,field) XtOffset(s_type*,field) #endif +#endif /* * NET_SIZE_T exists because of shortsightedness on the POSIX committee. BSD -- 2.47.2