Browse Source

#defined offsetof, for systems that can't find it

experimental/threaded
George Schlossnagle 23 years ago
parent
commit
2c34ea1be4
  1. 3
      sapi/apache_hooks/php_apache.c

3
sapi/apache_hooks/php_apache.c

@ -36,6 +36,9 @@ php_apache_info_struct php_apache_info;
#define SECTION(name) PUTS("<H2 align=\"center\">" name "</H2>\n")
#undef offsetof
#define offsetof(s_type,field) ((size_t)&(((s_type*)0)->field))
extern module *top_module;
static int le_apachereq;
static zend_class_entry *apacherequest_class_entry;

Loading…
Cancel
Save