|
Line 0
Link Here
|
|
|
1 |
--- lib/replace/replace.c.orig 2013-10-27 08:21:21 UTC |
| 2 |
+++ lib/replace/replace.c |
| 3 |
@@ -511,6 +511,7 @@ long long int rep_strtoll(const char *st |
| 4 |
#else |
| 5 |
#ifdef HAVE_BSD_STRTOLL |
| 6 |
#ifdef HAVE_STRTOQ |
| 7 |
+#undef strtoll |
| 8 |
long long int rep_strtoll(const char *str, char **endptr, int base) |
| 9 |
{ |
| 10 |
long long int nb = strtoq(str, endptr, base); |
| 11 |
@@ -549,6 +550,7 @@ unsigned long long int rep_strtoull(cons |
| 12 |
#else |
| 13 |
#ifdef HAVE_BSD_STRTOLL |
| 14 |
#ifdef HAVE_STRTOUQ |
| 15 |
+#undef strtoull |
| 16 |
unsigned long long int rep_strtoull(const char *str, char **endptr, int base) |
| 17 |
{ |
| 18 |
unsigned long long int nb = strtouq(str, endptr, base); |