X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fnmem.c;h=8415772319d2488afaf0dfff47cd7cebfa60f7fa;hp=f91ecc15bb6800d5764904f86882df0d04a31744;hb=4d531a1a9131d69c3b6c27fbac42837e22cff61c;hpb=79b486cea07c6352407a289d3b4b9a8545b470e6 diff --git a/util/nmem.c b/util/nmem.c index f91ecc1..8415772 100644 --- a/util/nmem.c +++ b/util/nmem.c @@ -1,9 +1,9 @@ /* - * Copyright (c) 1995-2002, Index Data. + * Copyright (c) 1995-2003, Index Data. * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: nmem.c,v 1.38 2002-12-05 12:19:24 adam Exp $ + * $Id: nmem.c,v 1.39 2003-01-06 08:20:28 adam Exp $ */ /* @@ -460,7 +460,7 @@ void yaz_strerror(char *buf, int max) else *buf = '\0'; #else -#if YAZ_POSIX_THREADS +#if HAVE_STRERROR_R strerror_r(errno, buf, max); #else strcpy(buf, strerror(yaz_errno()));