summaryrefslogtreecommitdiff
path: root/popt
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-11-09 01:51:57 +0000
committerWayne Davison <wayned@samba.org>2006-11-09 01:51:57 +0000
commit684576ff457db7cbebcb6e00f840ed044ccf2e6f (patch)
tree5157186f3a1e04122a4ae06db833181a6a44433c /popt
parent574a24a2ec3cc1a3dcd18d74ec735d8d44da1965 (diff)
downloadrsync-684576ff457db7cbebcb6e00f840ed044ccf2e6f.tar.gz
Moved definition of DBL_EPSILON.
Diffstat (limited to 'popt')
-rw-r--r--popt/popt.c4
-rw-r--r--popt/system.h4
2 files changed, 4 insertions, 4 deletions
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