2013-03-02 09:55 UTC+0100 Tamas TEVESZ (ice extreme.hu)

* src/rtl/gtcrs/gtcrs.h
  * utils/hbmk2/hbmk2.prg
  * config/detect.mk
  * config/minix/libs.mk
    * Add curses to Minix
This commit is contained in:
Tamas Tevesz
2013-03-02 09:57:06 +00:00
parent b45538a18f
commit 400778045b
5 changed files with 13 additions and 4 deletions

View File

@@ -10,6 +10,13 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-03-02 09:55 UTC+0100 Tamas TEVESZ (ice extreme.hu)
* src/rtl/gtcrs/gtcrs.h
* utils/hbmk2/hbmk2.prg
* config/detect.mk
* config/minix/libs.mk
* Add curses to Minix
2013-03-02 02:20 UTC+0100 Viktor Szakats (vszakats syenar.net)
+ contrib/sddsqlt3/tests/test.prg
- contrib/sddsqlt3/tests/test1.prg

View File

@@ -101,7 +101,7 @@ include $(TOP)$(ROOT)config/detfun.mk
_DET_DSP_NAME := curses
_DET_VAR_INC_ := HB_INC_CURSES
_DET_VAR_HAS_ := HB_HAS_CURSES
_DET_FLT_PLAT := !os2 !minix
_DET_FLT_PLAT := !os2
_DET_FLT_COMP :=
_DET_INC_DEFP := /usr/include /usr/include/ncurses /usr/local/include /sw/include /opt/local/include /boot/develop/headers/3rdparty
_DET_INC_HEAD := /curses.h

View File

@@ -6,7 +6,7 @@ SYSLIBPATHS := /usr/lib /usr/pkg/lib
ifneq ($(HB_LINKING_RTL),)
ifeq ($(HB_LIBNAME_CURSES),)
HB_LIBNAME_CURSES := ncurses
HB_LIBNAME_CURSES := curses
endif
ifneq ($(HB_HAS_CURSES),)
SYSLIBS += $(HB_LIBNAME_CURSES)

View File

@@ -67,7 +67,9 @@
# define _XOPEN_SOURCE_EXTENDED
#endif
#include <curses.h>
#if defined( HB_OS_SUNOS ) || defined( __PDCURSES__ )
#if defined( HB_OS_SUNOS ) || \
defined( __PDCURSES__ ) || \
defined( HB_OS_MINIX )
# include <term.h>
#endif
#if defined( HB_HAS_GPM )

View File

@@ -4176,7 +4176,7 @@ STATIC FUNCTION __hbmk( aArgs, nArgTarget, nLevel, /* @ */ lPause, /* @ */ lExit
IF IsGTRequested( hbmk, "gtcrs" )
/* TOFIX: Sometimes 'ncur194' is needed. */
AAdd( l_aLIBSYS, iif( HBMK_ISPLAT( "sunos|bsd" ), "curses", "ncurses" ) )
AAdd( l_aLIBSYS, iif( HBMK_ISPLAT( "sunos|bsd|minix" ), "curses", "ncurses" ) )
ENDIF
IF IsGTRequested( hbmk, "gtsln" )
IF hbmk[ _HBMK_cPLAT ] == "bsd" .AND. ;