summaryrefslogtreecommitdiff
path: root/include/net-snmp/system/darwin7.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net-snmp/system/darwin7.h')
-rw-r--r--include/net-snmp/system/darwin7.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/net-snmp/system/darwin7.h b/include/net-snmp/system/darwin7.h
new file mode 100644
index 0000000..b1553de
--- /dev/null
+++ b/include/net-snmp/system/darwin7.h
@@ -0,0 +1,14 @@
+#include <stdint.h>
+#include "freebsd4.h"
+#define darwin darwin
+/*
+ * Although Darwin does have an fstab.h file, getfsfile etc. always return null.
+ * At least, as of 5.3.
+ */
+#undef HAVE_FSTAB_H
+
+#define MBSTAT_SYMBOL "mbstat"
+#undef TOTAL_MEMORY_SYMBOL
+
+#define SWAPFILE_DIR "/private/var/vm"
+#define SWAPFILE_PREFIX "swapfile"