commit | 7cb024f89dbbc314e740885afccd9a05da056cf1 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Nov 06 15:37:35 2013 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Nov 06 15:37:35 2013 -0700 |
tree | 59975f42edab7f1324dfae1518fdc3033254dc0b | |
parent | 4c057b34dfc2554ce506f806e126db22e38488d6 [diff] [blame] |
solaris: ensure that -D_REENTRANT gets set Apparently some Solaris' require this for threadsafe errno. Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/configure b/configure index b6bfe19..ef7be01 100755 --- a/configure +++ b/configure
@@ -183,6 +183,7 @@ targetos='OpenBSD' elif check_define __sun__ ; then targetos='SunOS' + CFLAGS="$CFLAGS -D_REENTRANT" else targetos=`uname -s` fi