From 9c93282d1bd29fcac6176e9fac12b2c1ebd6463e Mon Sep 17 00:00:00 2001 From: Thomas Radke Date: Sat, 28 Oct 2000 14:07:32 -0500 Subject: [svn-r2749] Purpose: Set compiler flag to force BSD compliance. Description: In order to set a socket descriptor into non-blocking mode via ioctl(2) the Stream driver uses the FIONBIO constant. Under Solaris this is defined only when compiled as BSD code. I hope this doesn't break anything. Platforms tested: Solaris 5.7 --- config/solaris2.x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/solaris2.x b/config/solaris2.x index c1a4e88..894988b 100644 --- a/config/solaris2.x +++ b/config/solaris2.x @@ -17,7 +17,7 @@ fi # Try solaris native compiler flags if test "X-" = "X-$cc_flags_set"; then - CFLAGS="-erroff=%none" + CFLAGS="-erroff=%none -DBSD_COMP" LIBS="$LIBS -lsocket" DEBUG_CFLAGS=-g DEBUG_CPPFLAGS= -- cgit v0.12