2008-11-11 02:35 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
* make_vc.mak
* make_gcc.mak
+ Added -DHB_TR_LEVEL_DEBUG C compiler option when
HB_BUILD_DEBUG=yes.
* source/rtl/hbinet.c
* Minor formatting.
This commit is contained in:
@@ -8,6 +8,16 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2008-11-11 02:35 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
* make_b32.mak
|
||||
* make_vc.mak
|
||||
* make_gcc.mak
|
||||
+ Added -DHB_TR_LEVEL_DEBUG C compiler option when
|
||||
HB_BUILD_DEBUG=yes.
|
||||
|
||||
* source/rtl/hbinet.c
|
||||
* Minor formatting.
|
||||
|
||||
2008-11-11 01:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
+ config/w32/pocc64.cf
|
||||
+ Added Pelles C x64 GNU-make file.
|
||||
|
||||
@@ -88,7 +88,7 @@ CFLAGSMT = -DHB_MT_VM
|
||||
!endif
|
||||
#-----------
|
||||
!if "$(HB_BUILD_DEBUG)" == "yes"
|
||||
CFLAGS = -y -v $(CFLAGS)
|
||||
CFLAGS = -y -v -DHB_TR_LEVEL_DEBUG $(CFLAGS)
|
||||
!endif
|
||||
#-----------
|
||||
!if "$(HB_BCCDLL_DYNRT)" == "-tWR"
|
||||
|
||||
@@ -157,7 +157,7 @@ CFLAGS := -O3 $(CFLAGS)
|
||||
endif
|
||||
#-----------
|
||||
ifeq ($(HB_BUILD_DEBUG),yes)
|
||||
CFLAGS := -g $(CFLAGS)
|
||||
CFLAGS := -g -DHB_TR_LEVEL_DEBUG $(CFLAGS)
|
||||
endif
|
||||
#-----------
|
||||
CLIBFLAGS := -c $(CFLAGS)
|
||||
|
||||
@@ -141,7 +141,7 @@ CFLAGS = -nologo -W4 -wd4127 -Gs -I$(INCLUDE_DIR) $(CFLAGS_VER) \
|
||||
|
||||
#-----------
|
||||
!if "$(HB_BUILD_DEBUG)" == "yes"
|
||||
CFLAGS = -Zi $(CFLAGS)
|
||||
CFLAGS = -Zi -DHB_TR_LEVEL_DEBUG $(CFLAGS)
|
||||
DBGMARKER = d
|
||||
!endif
|
||||
|
||||
|
||||
@@ -141,7 +141,10 @@
|
||||
#define HB_PARSOCKET( n ) ( ( HB_SOCKET_STRUCT * ) hb_parptrGC( hb_inetSocketFinalize, n ) )
|
||||
|
||||
#define HB_SOCKET_ZERO_ERROR( s ) \
|
||||
do { s->errorCode = 0; s->errorDesc = ""; } while( 0 )
|
||||
do { \
|
||||
s->errorCode = 0; \
|
||||
s->errorDesc = ""; \
|
||||
} while( 0 )
|
||||
|
||||
#if defined( HB_OS_WIN_32 )
|
||||
#if defined( _MSC_VER ) && _MSC_VER >= 1400
|
||||
@@ -162,7 +165,10 @@
|
||||
#endif
|
||||
#else
|
||||
#define HB_SOCKET_SET_ERROR( s ) \
|
||||
do { s->errorCode = errno; s->errorDesc = strerror( errno ); } while( 0 )
|
||||
do { \
|
||||
s->errorCode = errno; \
|
||||
s->errorDesc = strerror( errno ); \
|
||||
} while( 0 )
|
||||
#endif
|
||||
|
||||
#if defined( _MSC_VER ) && _MSC_VER >= 1400
|
||||
@@ -187,13 +193,13 @@
|
||||
|
||||
#define HB_SOCKET_INIT( s, p ) \
|
||||
do { \
|
||||
s = ( HB_SOCKET_STRUCT * ) hb_gcAlloc( sizeof( HB_SOCKET_STRUCT ), hb_inetSocketFinalize );\
|
||||
memset( s, '\0', sizeof( HB_SOCKET_STRUCT ) );\
|
||||
s->com = ( HB_SOCKET_T ) -1;\
|
||||
s->timeout = -1;\
|
||||
s->timelimit = -1;\
|
||||
s->errorDesc = "";\
|
||||
p = hb_itemPutPtrGC( p, s );\
|
||||
s = ( HB_SOCKET_STRUCT * ) hb_gcAlloc( sizeof( HB_SOCKET_STRUCT ), hb_inetSocketFinalize ); \
|
||||
memset( s, '\0', sizeof( HB_SOCKET_STRUCT ) ); \
|
||||
s->com = ( HB_SOCKET_T ) -1; \
|
||||
s->timeout = -1; \
|
||||
s->timelimit = -1; \
|
||||
s->errorDesc = ""; \
|
||||
p = hb_itemPutPtrGC( p, s ); \
|
||||
} while( 0 )
|
||||
|
||||
#ifndef MSG_NOSIGNAL
|
||||
|
||||
Reference in New Issue
Block a user