From ae3af0419bef68e5a01e825798af7493f45f8456 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Wed, 13 Feb 2008 04:16:56 +0000 Subject: This floorf workaround is Nnot needed anymore since floorf is part of Gnulib git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1928 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/plugins/common.h b/plugins/common.h index 6cb7cd4..39a28a9 100644 --- a/plugins/common.h +++ b/plugins/common.h @@ -182,11 +182,6 @@ enum { }; #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, -- cgit v0.10-9-g596f