From 1bc19a04d356da71ef03dc85dbd9e605fbeed9ef Mon Sep 17 00:00:00 2001 From: Olaf Barthel Date: Sat, 5 Mar 2005 17:55:26 +0000 Subject: [PATCH] - Fixed a compiler problem in the socket setup. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14860 87f5fb63-7c3d-0410-a384-fd976d0f7a62 --- library/GNUmakefile.os4 | 4 ++-- library/socket_init_exit.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/library/GNUmakefile.os4 b/library/GNUmakefile.os4 index 573ef65..a47a54b 100644 --- a/library/GNUmakefile.os4 +++ b/library/GNUmakefile.os4 @@ -1,5 +1,5 @@ # -# $Id: GNUmakefile.os4,v 1.34 2005-03-03 14:20:55 obarthel Exp $ +# $Id: GNUmakefile.os4,v 1.35 2005-03-05 17:55:26 obarthel Exp $ # # :ts=8 # @@ -111,7 +111,7 @@ WARNINGS = \ # -Wconversion -Wshadow INCLUDES = -Iinclude -I. -I$(SDK_INCLUDE) -OPTIONS = -DNDEBUG -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames +OPTIONS = -D__THREAD_SAFE -DNDEBUG -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames OPTIMIZE = -O -fomit-frame-pointer -funroll-loops #DEBUG = -g diff --git a/library/socket_init_exit.c b/library/socket_init_exit.c index c69a85b..0b8d713 100644 --- a/library/socket_init_exit.c +++ b/library/socket_init_exit.c @@ -1,5 +1,5 @@ /* - * $Id: socket_init_exit.c,v 1.12 2005-03-04 20:08:19 obarthel Exp $ + * $Id: socket_init_exit.c,v 1.13 2005-03-05 17:55:26 obarthel Exp $ * * :ts=4 * @@ -206,7 +206,7 @@ __socket_init(void) */ #if defined(__THREAD_SAFE) && defined(SBTC_CAN_SHARE_LIBRARY_BASES) { - if(SocketBase->lib_Version >= 4) + if(__SocketBase->lib_Version >= 4) { tags[0].ti_Tag = SBTM_SETVAL(SBTC_CAN_SHARE_LIBRARY_BASES); tags[0].ti_Data = TRUE;