From 2ad4dc0df184a2a93b78f98c51bd144945946aee Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 23 Sep 2008 15:10:10 +0000 Subject: [PATCH] 2008-09-23 17:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/gcc.cf * enabled -DTCPV40HDRS in default builds, can be disabled by setting HB_OS2_NEW_TCP=yes environment variable --- harbour/ChangeLog | 5 +++++ harbour/config/os2/gcc.cf | 12 ++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index bdcd67ef8b..e735cec1cd 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2008-09-23 17:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/config/os2/gcc.cf + * enabled -DTCPV40HDRS in default builds, can be disabled by + setting HB_OS2_NEW_TCP=yes environment variable + 2008-09-23 07:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbwhat/wincorec.c % hb_retptr() => HB_RETWI() diff --git a/harbour/config/os2/gcc.cf b/harbour/config/os2/gcc.cf index 806aef1931..1752e775f2 100644 --- a/harbour/config/os2/gcc.cf +++ b/harbour/config/os2/gcc.cf @@ -16,10 +16,14 @@ CPPFLAGS = -I. -I$(HB_INC_COMPILE) CFLAGS = -W -Wall -O2 # 26/03/2004 - -# added -DTCPV40HDRS to compile with GCC 3.2.2 on OS/2 v4.0 with mixed 16/32 bit tcp/ip stack -# to be removed if compiled on a tcp/ip stack >= 4.1 (eComStation, for example) -# disabled, if you need it please use: C_USR=-DTCPV40HDRS -# CFLAGS += -DTCPV40HDRS +# added -DTCPV40HDRS to compile with GCC 3.2.2 on OS/2 v4.0 with mixed +# 16/32 bit tcp/ip stack +# can be removed if compiled on a tcp/ip stack >= 4.1 (eComStation, +# for example), if you do not need it please use HB_OS2_NEW_TCP=yes +# environment variable. +ifneq($(HB_OS2_NEW_TCP),yes) + CFLAGS += -DTCPV40HDRS +endif LD = gcc LDFLAGS =