Mailing List Archive

cvs commit: apache-1.3/src/os/unix os.h
rasmus 98/03/05 11:40:37

Modified: src/os/unix os.h
Log:
Due to the order of inclusion, it isn't feasible to move this check
to conf.h. So, reverse this part of my last patch. The whole DLFCN
thing could be moved to conf.h, but I will leave that for another battle.

Revision Changes Path
1.11 +9 -0 apache-1.3/src/os/unix/os.h

Index: os.h
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/os/unix/os.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- os.h 1998/03/05 18:58:36 1.10
+++ os.h 1998/03/05 19:40:36 1.11
@@ -83,6 +83,15 @@
extern int os_is_path_absolute(const char *f);
#endif

+/*
+ * Abstraction layer for dynamic loading of modules (mod_so.c)
+ */
+
+#if defined(LINUX) || defined(__FreeBSD__) || defined(SOLARIS2) || \
+ defined(__bsdi__) || defined(IRIX)
+# define HAVE_DLFCN_H 1
+#endif
+
#if defined(__FreeBSD__)
# define NEED_UNDERSCORE_SYM
#endif