summaryrefslogtreecommitdiff
path: root/popt
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-11-09 01:55:17 +0000
committerWayne Davison <wayned@samba.org>2006-11-09 01:55:17 +0000
commit1acb2e15b49b50d5be5320ad6bd41291130bc438 (patch)
treedb680942dfad7f87d543206119d66df83fd47647 /popt
parent06898c80d954af3b2afba06c517a2c53afdf2a38 (diff)
downloadrsync-1acb2e15b49b50d5be5320ad6bd41291130bc438.tar.gz
Changed _ABS to be defined as MY_ABS.
Diffstat (limited to 'popt')
-rw-r--r--popt/popt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/popt/popt.c b/popt/popt.c
index fcf671ca..00a60270 100644
--- a/popt/popt.c
+++ b/popt/popt.c
@@ -965,10 +965,10 @@ int poptGetNextOpt(poptContext con)
if ((opt->argInfo & POPT_ARG_MASK) == POPT_ARG_DOUBLE) {
*((double *) opt->arg) = aDouble;
} else {
-#define _ABS(a) ((((a) - 0.0) < DBL_EPSILON) ? -(a) : (a))
- if ((_ABS(aDouble) - FLT_MAX) > DBL_EPSILON)
+#define MY_ABS(a) ((((a) - 0.0) < DBL_EPSILON) ? -(a) : (a))
+ if ((MY_ABS(aDouble) - FLT_MAX) > DBL_EPSILON)
return POPT_ERROR_OVERFLOW;
- if ((FLT_MIN - _ABS(aDouble)) > DBL_EPSILON)
+ if ((FLT_MIN - MY_ABS(aDouble)) > DBL_EPSILON)
return POPT_ERROR_OVERFLOW;
*((float *) opt->arg) = aDouble;
}