summaryrefslogtreecommitdiff
path: root/ace/os_include/dlfcn.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/os_include/dlfcn.h')
-rw-r--r--ace/os_include/dlfcn.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/ace/os_include/dlfcn.h b/ace/os_include/dlfcn.h
new file mode 100644
index 00000000000..125d6cd16b5
--- /dev/null
+++ b/ace/os_include/dlfcn.h
@@ -0,0 +1,31 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file dlfcn.h
+ *
+ * dynamic linking
+ *
+ * $Id$
+ *
+ * @author Don Hinton <dhinton@ieee.org>
+ * @author This code was originally in various places including ace/OS.h.
+ */
+//=============================================================================
+
+#ifndef ACE_OS_INCLUDE_DLFCN_H
+#define ACE_OS_INCLUDE_DLFCN_H
+
+#include "ace/pre.h"
+
+#include "ace/config-all.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#if !defined (ACE_LACKS_DLFCN_H)
+# include /**/ <dlfcn.h>
+#endif /* !ACE_LACKS_DLFCN_H */
+
+#endif /* ACE_OS_INCLUDE_DLFCN_H */