2001-11-20 08:18 GMT Dave Pearson <davep@davep.org>

* source/rtl/gtsln/Makefile
   * source/rtl/gtsln/gtsln.c
   * source/rtl/gtsln/kbsln.c
     * Applied fixes from Marek Paliwoda <paliwoda@inetia.pl> that lets
       the slang GT driver code build on different GNU/Linux distributions
       (and possibly other flavours of Un*x).
This commit is contained in:
Dave Pearson
2001-11-20 08:21:38 +00:00
parent 225cf29b8a
commit 56bad4ba28
4 changed files with 19 additions and 11 deletions

View File

@@ -1,3 +1,11 @@
2001-11-20 08:18 GMT Dave Pearson <davep@davep.org>
* source/rtl/gtsln/Makefile
* source/rtl/gtsln/gtsln.c
* source/rtl/gtsln/kbsln.c
* Applied fixes from Marek Paliwoda <paliwoda@inetia.pl> that lets
the slang GT driver code build on different GNU/Linux distributions
(and possibly other flavours of Un*x).
2001-11-20 05:20 GMT+0700 Andi Jahja <harbour@cbn.net.id>
* source/compiler/harbour.y
! declare function prototype __yy_memcpy() to satisfy Borland

View File

@@ -12,3 +12,12 @@ C_SOURCES=\
LIBNAME=gtsln
include $(TOP)$(ROOT)config/lib.cf
# a workaround of a problem with different include directories
# for slang header files between different unix distributions
DUMMYA := $(CFLAGS)
CFLAGS := -I/usr/include/slang -I/usr/local/include \
-I/usr/local/include/slang $(DUMMYA)
#DUMMYB := $(LDFLAGS)
#LDFLAGS := -L/usr/lib/slang -L/usr/local/lib -L/usr/local/lib/slang $(DUMMYB)

View File

@@ -54,11 +54,7 @@
/* *********************************************************************** */
#ifdef __linux__
#include <slang/slang.h>
#else
#include <slang.h>
#endif
#include <slang.h>
/* missing defines in previous versions of Slang - this can not work ! */
#if SLANG_VERSION < 10400

View File

@@ -54,12 +54,7 @@
/* *********************************************************************** */
#ifdef __linux__
#include <slang/slang.h>
#else
#include <slang.h>
#endif
#include <slang.h>
#include <sys/ioctl.h>
#ifdef M_UNIX