2001-10-03 17:30 UTC-0400 David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
2001-10-03 21:33:33 +00:00
parent 243fda25b1
commit 369b3680cb
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,10 @@
2001-10-03 17:30 UTC-0400 David G. Holm <dholm@jsd-llc.com>
* source/rtl/isprint.c
- The Windows version doesn't work with RSXNT,
due to link time errors, so exclude __RSXNT__
from the HB_OS_WIN_32 branches.
2001-09-30 17:20 GMT -3 Luiz Rafael Culik<culik@sl.conex.net>
*source/rtl/filesys.c
* Some minor changes to the Win32 section(Verify the return code of the function

View File

@@ -65,7 +65,7 @@
#include "hbapi.h"
#include "hbapifs.h"
#if defined(HB_OS_WIN_32)
#if defined(HB_OS_WIN_32) && !defined(__RSXNT__)
#include <stdio.h>
#include <malloc.h>
#include <winspool.h>
@@ -106,7 +106,7 @@ HB_FUNC( ISPRINTER )
/* TODO: Proper COM port checking */
bIsPrinter = TRUE;
}
#elif defined(HB_OS_WIN_32)
#elif defined(HB_OS_WIN_32) && !defined(__RSXNT__)
{
char DefaultPrinter[80];
DWORD pdwBufferSize=80;
@@ -138,8 +138,8 @@ HB_FUNC( ISPRINTER )
hb_retl( bIsPrinter );
}
/** The bellow does the check for the printer */
#if defined(HB_OS_WIN_32)
/** The code below does the check for the printer */
#if defined(HB_OS_WIN_32) && !defined(__RSXNT__)
BOOL DPGetDefaultPrinter(LPTSTR pPrinterName, LPDWORD pdwBufferSize)
{
BOOL bFlag;