glide2x djgpp build fixes #2/7:

gerror.c: _guHeapCheck() is for watcom builds only due to _heapchk()
This commit is contained in:
sezero
2019-07-06 14:05:04 +03:00
parent ee5fecf71f
commit 0e352d42c1
3 changed files with 3 additions and 3 deletions

View File

@@ -173,7 +173,7 @@ _grErrorDefaultCallback( const char *s, FxBool fatal )
} }
} }
#ifdef __DOS__ #if defined(__DOS__) && defined(__WATCOMC__)
int _guHeapCheck( void ) int _guHeapCheck( void )
{ {
int i = _heapchk(); int i = _heapchk();

View File

@@ -183,7 +183,7 @@ _grErrorDefaultCallback( const char *s, FxBool fatal )
} }
} }
#ifdef __DOS__ #if defined(__DOS__) && defined(__WATCOMC__)
int _guHeapCheck( void ) int _guHeapCheck( void )
{ {
int i = _heapchk(); int i = _heapchk();

View File

@@ -134,7 +134,7 @@ _grErrorDefaultCallback( const char *s, FxBool fatal )
} }
} }
#ifdef __DOS__ #if defined(__DOS__) && defined(__WATCOMC__)
int _guHeapCheck( void ) int _guHeapCheck( void )
{ {
int i = _heapchk(); int i = _heapchk();