Skip to content

Commit

Permalink
WinCon and WinGUI Borland Turbo C makefiles now specify the lack of a…
Browse files Browse the repository at this point in the history
… 'stdint.h'. If you build with -DUTF8, you need not add -DWIDE (this has been the case with most makefiles for a long time, but we'd not caught up on the Borland ones until now).
  • Loading branch information
Bill-Gray committed Jul 30, 2024
1 parent 1ad9562 commit d6b7e99
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions wincon/Makefile.bcc
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,25 @@ osdir = $(PDCURSES_SRCDIR)\wincon
CC = bcc32c -q

!ifdef DEBUG
CFLAGS = -N -v -y -DPDCDEBUG
CFLAGS = -N -v -y -DPDCDEBUG -DNO_STDINT_H
!else
CFLAGS = -O
CFLAGS = -O -DNO_STDINT_H
!endif

!ifdef UTF8
WIDEOPT = -DPDC_WIDE -DPDC_FORCE_UTF8
!else
!ifdef WIDE
WIDEOPT = -DPDC_WIDE
!endif

!ifdef UTF8
UTF8OPT = -DPDC_FORCE_UTF8
!endif

!ifdef INFOEX
INFOPT = -DHAVE_NO_INFOEX
!endif

BUILD = $(CC) -I$(PDCURSES_SRCDIR) -c -Tpe $(CFLAGS) \
$(WIDEOPT) $(UTF8OPT) $(INFOPT)
$(WIDEOPT) $(INFOPT)
BUILD_OS = $(BUILD) -Xdriver -Wno-deprecated-declarations

LIBEXE = tlib /C /E /0 /a
Expand Down
12 changes: 6 additions & 6 deletions wingui/Makefile.bcc
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ common = $(PDCURSES_SRCDIR)\common
CC = bcc32 -q

!ifdef DEBUG
CFLAGS = -N -v -y -DPDCDEBUG
CFLAGS = -N -v -y -DPDCDEBUG -DNO_STDINT_H
!else
CFLAGS = -O
CFLAGS = -O -DNO_STDINT_H
!endif

!ifdef UTF8
WIDEOPT = -DPDC_WIDE -DPDC_FORCE_UTF8
!else
!ifdef WIDE
WIDEOPT = -DPDC_WIDE
!endif

!ifdef UTF8
UTF8OPT = -DPDC_FORCE_UTF8
!endif

BUILD = $(CC) -I$(PDCURSES_SRCDIR) -c -Tpe -w32 $(CFLAGS) -w-par \
$(WIDEOPT) $(UTF8OPT)
$(WIDEOPT)

LIBEXE = tlib /C /E /0 /a

Expand Down

0 comments on commit d6b7e99

Please sign in to comment.