diff options
author | Thomas Radke <tradke@aei.mpg.de> | 2000-10-28 19:07:32 (GMT) |
---|---|---|
committer | Thomas Radke <tradke@aei.mpg.de> | 2000-10-28 19:07:32 (GMT) |
commit | 9c93282d1bd29fcac6176e9fac12b2c1ebd6463e (patch) | |
tree | 379cd02fe5583826ce28c25625279bb8cdba4597 /config | |
parent | 66bd4aac55d2dea66c76509f4e952387afd01f54 (diff) | |
download | hdf5-9c93282d1bd29fcac6176e9fac12b2c1ebd6463e.zip hdf5-9c93282d1bd29fcac6176e9fac12b2c1ebd6463e.tar.gz hdf5-9c93282d1bd29fcac6176e9fac12b2c1ebd6463e.tar.bz2 |
[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
Diffstat (limited to 'config')
-rw-r--r-- | config/solaris2.x | 2 |
1 files changed, 1 insertions, 1 deletions
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= |