summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ec6d0db)
raw | patch | inline | side by side (parent: ec6d0db)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 7 Dec 2005 15:10:27 +0000 (15:10 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 7 Dec 2005 15:10:27 +0000 (15:10 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1295 f882894a-f735-0410-b71e-b25c423dba1c
THANKS.in | patch | blob | history | |
plugins/common.h | patch | blob | history |
diff --git a/THANKS.in b/THANKS.in
index fa61ddb4f54b5ffdab92af88754a63510aeb4c7c..9fee025561ffb078b72f68664258888c85165a6f 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
Rick Frey
Serhan Kiymaz
Gerhard Lausser
+Jon Vandegrift
diff --git a/plugins/common.h b/plugins/common.h
index b4699cef1347c983715b19a8f88e80504eebd6c6..7438e40371a2355b1457a13bc9b408b674118715 100644 (file)
--- a/plugins/common.h
+++ b/plugins/common.h
};
#endif
+/* Solaris does not have floorf, but floor works. Should probably be in configure */
+#if defined(__sun) || defined(__sun__)
+static inline float floorf (float x) { return floor(x); }
+#endif
+
enum {
STATE_OK,
STATE_WARNING,