From 7cb024f89dbbc314e740885afccd9a05da056cf1 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 6 Nov 2013 15:37:35 -0700 Subject: [PATCH] solaris: ensure that -D_REENTRANT gets set Apparently some Solaris' require this for threadsafe errno. Signed-off-by: Jens Axboe --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index b6bfe19a..ef7be018 100755 --- a/configure +++ b/configure @@ -183,6 +183,7 @@ elif check_define __OpenBSD__ ; then targetos='OpenBSD' elif check_define __sun__ ; then targetos='SunOS' + CFLAGS="$CFLAGS -D_REENTRANT" else targetos=`uname -s` fi -- 2.25.1