2013-09-09 15:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/dlmalloc.c
* use __builtin_clz() and __builtin_ctz() only with GCC 3.4 or newer.
Problem reported by David Arturo Macias Corona and OS2 GCC3.3.5.
* README.md
+ added link suggested by David to os2gcc454 from Paul Smedley
* src/rtl/gtstd/gtstd.c
+ accept keyboard input from redirected file on platforms without
dedicated code for keyboard support in GTSTD
This commit is contained in:
@@ -10,6 +10,18 @@
|
||||
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
|
||||
*/
|
||||
|
||||
2013-09-09 15:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/vm/dlmalloc.c
|
||||
* use __builtin_clz() and __builtin_ctz() only with GCC 3.4 or newer.
|
||||
Problem reported by David Arturo Macias Corona and OS2 GCC3.3.5.
|
||||
|
||||
* README.md
|
||||
+ added link suggested by David to os2gcc454 from Paul Smedley
|
||||
|
||||
* src/rtl/gtstd/gtstd.c
|
||||
+ accept keyboard input from redirected file on platforms without
|
||||
dedicated code for keyboard support in GTSTD
|
||||
|
||||
2013-08-28 17:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/rtl/hbsocket.c
|
||||
! use sock_errno() instead of errno in OS2 WATCOM builds.
|
||||
|
||||
@@ -1744,6 +1744,7 @@ Supported shells per host platforms:
|
||||
* <http://os2ports.smedley.info/index.php?page=gcc>
|
||||
* <http://os2ports.smedley.info/index.php?page=gcc44>
|
||||
* <http://download.smedley.info/gcc-4.4.5-os2-20101004.zip>
|
||||
* <https://dl.dropboxusercontent.com/u/76425158/gcc-4.5.4-os2-20130803.zip>
|
||||
* DJGPP [dos, *nix, free, open-source]
|
||||
* <http://www.delorie.com/djgpp/>
|
||||
* Open Watcom [win, dos, os2, linux, free, open-source]
|
||||
|
||||
@@ -414,7 +414,16 @@ static int hb_gt_std_ReadKey( PHB_GT pGT, int iEventMask )
|
||||
}
|
||||
#else
|
||||
{
|
||||
int iTODO; /* TODO: */
|
||||
if( ! pGTSTD->fStdinConsole )
|
||||
{
|
||||
HB_BYTE bChar;
|
||||
if( hb_fsRead( pGTSTD->hStdin, &bChar, 1 ) == 1 )
|
||||
ch = bChar;
|
||||
}
|
||||
else
|
||||
{
|
||||
int iTODO; /* TODO: */
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -2932,7 +2932,8 @@ static size_t traverse_and_check(mstate m);
|
||||
}\
|
||||
}
|
||||
|
||||
#elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
|
||||
#elif defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) && \
|
||||
(defined(__i386__) || defined(__x86_64__))
|
||||
#define compute_tree_index(S, I)\
|
||||
{\
|
||||
unsigned int X = S >> TREEBIN_SHIFT;\
|
||||
@@ -3021,7 +3022,8 @@ static size_t traverse_and_check(mstate m);
|
||||
|
||||
/* index corresponding to given bit. Use x86 asm if possible */
|
||||
|
||||
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
|
||||
#if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) && \
|
||||
(defined(__i386__) || defined(__x86_64__))
|
||||
#define compute_bit2idx(X, I)\
|
||||
{\
|
||||
unsigned int J;\
|
||||
|
||||
Reference in New Issue
Block a user