summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ec0ebf1)
raw | patch | inline | side by side (parent: ec0ebf1)
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Wed, 13 Feb 2008 04:16:56 +0000 (04:16 +0000) | ||
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Wed, 13 Feb 2008 04:16:56 +0000 (04:16 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1928 f882894a-f735-0410-b71e-b25c423dba1c
plugins/common.h | patch | blob | history |
diff --git a/plugins/common.h b/plugins/common.h
index 6cb7cd46f61e122d5023018afe7b991d56cb2db1..39a28a9d08f79f9d66cb10d2c97c4d87f9c8e3eb 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,