diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-05-11 14:08:06 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-05-11 14:08:06 +0000 |
commit | 179f701f7aec100ac1228fc02778fc4af47b75f0 (patch) | |
tree | 2fc6a36589ab040977f873f7b8d7ee859dfe895d /source/sys_unix.c | |
parent | 98c3c29c4f106c98bac64c882c8255f977a3980a (diff) |
Updated revision to 238.
Use mremap only when _GNU_SOURCE is defined.
Updated Debian package descriptions.
Diffstat (limited to 'source/sys_unix.c')
-rw-r--r-- | source/sys_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/sys_unix.c b/source/sys_unix.c index 90031b2..0311f21 100644 --- a/source/sys_unix.c +++ b/source/sys_unix.c @@ -443,7 +443,7 @@ void Hunk_End( mempool_t *pool ) { } if( newsize < pool->maxsize ) { -#ifdef __linux__ +#ifdef _GNU_SOURCE void *buf = mremap( pool->base, pool->maxsize, newsize, 0 ); #else void *unmap_base = ( byte * )pool->base + newsize; @@ -477,7 +477,7 @@ GENERAL ROUTINES */ void Sys_DebugBreak( void ) { - raise( SIGTERM ); + raise( SIGTRAP ); } unsigned Sys_Milliseconds( void ) { |