20000401-04:57 GMT+1 Victor Szakats <info@szelvesz.hu>
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user