From d6f7c59e48fcf852f7125c2a42bccc386a639ea7 Mon Sep 17 00:00:00 2001 From: Aleksander Czajczynski Date: Sun, 11 Feb 2018 12:55:13 +0100 Subject: [PATCH] 2018-02-11 12:55 UTC+0100 Aleksander Czajczynski (hb fki.pl) * package/harbour.mft + added version manifest to Harbour compiler binaries, which is more important on Windows 10 builds, to not include false Windows version in build info. This doesn't affect programs built with Harbour, where similar manifest should be included or not, according to your needs. * utils/hbmk2/hbmk2.prg * define _UNICODE (activates unicode C RTL functions in OpenWatcom and some MS C compilers) together with UNICODE in -winuni mode. Similar change was done in Viktor's forked Harbour 3.4. Harbour core/contrib code doesn't use any of these C RTL, but in most 3rd party code it's expected that these are enabled both. --- ChangeLog.txt | 15 +++++++++++++++ package/harbour.mft | 14 ++++++++++++++ utils/hbmk2/hbmk2.prg | 1 + 3 files changed, 30 insertions(+) diff --git a/ChangeLog.txt b/ChangeLog.txt index a4d792d963..319d34a3cb 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -7,6 +7,21 @@ Entries may not always be in chronological/commit order. See license at the end of file. */ +2018-02-11 12:55 UTC+0100 Aleksander Czajczynski (hb fki.pl) + * package/harbour.mft + + added version manifest to Harbour compiler binaries, which is more + important on Windows 10 builds, to not include false Windows version + in build info. + This doesn't affect programs built with Harbour, where similar manifest + should be included or not, according to your needs. + + * utils/hbmk2/hbmk2.prg + * define _UNICODE (activates unicode C RTL functions in OpenWatcom + and some MS C compilers) together with UNICODE in -winuni mode. + Similar change was done in Viktor's forked Harbour 3.4. Harbour + core/contrib code doesn't use any of these C RTL, but in most 3rd + party code it's expected that these are enabled both. + 2018-02-11 12:15 UTC+0100 Aleksander Czajczynski (hb fki.pl) * contrib/hbdoc/hbdoc.prg * contrib/hbformat/utils/hbformat.prg diff --git a/package/harbour.mft b/package/harbour.mft index 904afcd6aa..67a1e2aef8 100644 --- a/package/harbour.mft +++ b/package/harbour.mft @@ -16,4 +16,18 @@ + + + + + + + + + + + + + + diff --git a/utils/hbmk2/hbmk2.prg b/utils/hbmk2/hbmk2.prg index bd59d81819..f0c69c8fa2 100644 --- a/utils/hbmk2/hbmk2.prg +++ b/utils/hbmk2/hbmk2.prg @@ -4493,6 +4493,7 @@ STATIC FUNCTION __hbmk( aArgs, nArgTarget, nLevel, /* @ */ lPause, /* @ */ lExit ENDIF IF hbmk[ _HBMK_lWINUNI ] AAdd( hbmk[ _HBMK_aOPTC ], "-DUNICODE" ) + AAdd( hbmk[ _HBMK_aOPTC ], "-D_UNICODE" ) ENDIF IF hbmk[ _HBMK_cPLAT ] == "wce" AAdd( l_aLIBSYS, "mmtimer" )