From: Wayne Davison Date: Thu, 9 Nov 2006 01:51:57 +0000 (+0000) Subject: Moved definition of DBL_EPSILON. X-Git-Tag: v3.0.0pre1~614 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=684576ff457db7cbebcb6e00f840ed044ccf2e6f;p=thirdparty%2Frsync.git Moved definition of DBL_EPSILON. --- diff --git a/popt/popt.c b/popt/popt.c index 9ce3b355..fcf671ca 100644 --- a/popt/popt.c +++ b/popt/popt.c @@ -18,6 +18,10 @@ #include "findme.h" #include "poptint.h" +#ifndef DBL_EPSILON +#define DBL_EPSILON 2.2204460492503131e-16 +#endif + #ifdef MYDEBUG /*@unchecked@*/ int _popt_debug = 0; diff --git a/popt/system.h b/popt/system.h index a2dec861..72d52e1d 100644 --- a/popt/system.h +++ b/popt/system.h @@ -123,10 +123,6 @@ int snprintf(char *str,size_t count,const char *fmt,...); #define PACKAGE "rsync" -#ifndef DBL_EPSILON -#define DBL_EPSILON 2.2204460492503131e-16 -#endif - #ifdef _ABS #undef _ABS #endif