20000401-04:57 GMT+1 Victor Szakats <info@szelvesz.hu>

This commit is contained in:
Viktor Szakats
2000-04-01 03:04:15 +00:00
parent eae1aed678
commit 6e8d9c5dc8
2 changed files with 5 additions and 4 deletions

View File

@@ -2,13 +2,14 @@
* source/rtl/environ.c
* include/hbapi.h
% Reorganized. Now the motto is that each target platform should first
detect the version of the native platform version, then if applicable
(only in DOS currently) detect the host OS.
% OS() function reorganized. Now the motto is that each target platform
should first detect the version of the native platform version, then if
applicable (only in DOS currently) detect the host OS.
This way the source is *far* more clean, and consistent between
platforms and compilers.
+ Added WinNT detection for the DOS platform.
* #ifdef mess removed.
% Win32 version detection optimized.
+ C callable version added (hb_os())
* Some variables renamed.
; Tested with BCC55, BCC31, CYGWIN, MINGW32, MSC8 (compile only),

View File

@@ -99,7 +99,7 @@
The latter is mainly an issue in DOS, where the host OS can be OS/2
WinNT/2K, Win3x, Win9x, DOSEMU, Desqview, etc. [vszakats] */
#define HB_OS_BUFFER_LEN 80
#define HB_OS_BUFFER_LEN 128
char * hb_os( void )
{