summaryrefslogtreecommitdiff
path: root/ACE/ace/os_include/sys/os_sysinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/os_include/sys/os_sysinfo.h')
-rw-r--r--ACE/ace/os_include/sys/os_sysinfo.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/ACE/ace/os_include/sys/os_sysinfo.h b/ACE/ace/os_include/sys/os_sysinfo.h
new file mode 100644
index 00000000000..9537c9c615a
--- /dev/null
+++ b/ACE/ace/os_include/sys/os_sysinfo.h
@@ -0,0 +1,39 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file os_sysinfo.h
+ *
+ * $Id$
+ *
+ * @author Johnny Willemsen <jwillemsen@remedy.nl>
+ */
+//=============================================================================
+
+#ifndef ACE_OS_INCLUDE_SYS_OS_SYSINFO_H
+#define ACE_OS_INCLUDE_SYS_OS_SYSINFO_H
+
+#include /**/ "ace/pre.h"
+
+#include "ace/config-lite.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#if defined (ACE_HAS_SYS_SYSINFO_H)
+# include /**/ <sys/sysinfo.h>
+#endif /* ACE_HAS_SYS_SYSINFO_H */
+
+// Place all additions (especially function declarations) within extern "C" {}
+#ifdef __cplusplus
+extern "C"
+{
+#endif /* __cplusplus */
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#include /**/ "ace/post.h"
+#endif /* ACE_OS_INCLUDE_SYS_OS_SYSINFO_H */