X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/fef95dbbb2220e10f5a6bf7ac1b6ecdff0025bca..43ba2742c700d625dcdcdaf7bbadc2f72776854a:/src/src/string.c diff --git a/src/src/string.c b/src/src/string.c index a3fbc4ea5..b7e7db487 100644 --- a/src/src/string.c +++ b/src/src/string.c @@ -1706,6 +1706,17 @@ return yield; #endif /* COMPILE_UTILITY */ +#ifndef COMPILE_UTILITY +/* qsort(3), currently used to sort the environment variables +for -bP environment output, needs a function to compare two pointers to string +pointers. Here it is. */ + +int +string_compare_by_pointer(const uschar **a, const uschar **b) +{ +return Ustrcmp(CUS *a, CUS *b); +} +#endif /* COMPILE_UTILITY */