diff options
author | Daniel Borca <dborca@users.sourceforge.net> | 2004-11-01 08:38:12 +0000 |
---|---|---|
committer | Daniel Borca <dborca@users.sourceforge.net> | 2004-11-01 08:38:12 +0000 |
commit | 63a2f2a9774d21aa1983b9c8b5b2c7532d5d4a3c (patch) | |
tree | dd16f6e3e2bd64e8ef2955bb77400b841f011dd1 /src/mesa/drivers/dos | |
parent | 3c17d73c87ca2dc49487a9ab26c0d654e404b782 (diff) |
protected against old djgpp distros
Diffstat (limited to 'src/mesa/drivers/dos')
-rw-r--r-- | src/mesa/drivers/dos/dmesa.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dos/dmesa.c b/src/mesa/drivers/dos/dmesa.c index d3356ee40f..2d3b2e6495 100644 --- a/src/mesa/drivers/dos/dmesa.c +++ b/src/mesa/drivers/dos/dmesa.c @@ -1412,16 +1412,18 @@ int DMesaGetIntegerv (GLenum pname, GLint *params) } -#if USE_EXTERNAL_DXTN_LIB +#if (((__DJGPP__ << 8) | __DJGPP_MINOR__) >= 0x204) && USE_EXTERNAL_DXTN_LIB #include <sys/dxe.h> extern_asm(___dj_assert); extern_asm(_free); extern_asm(_malloc); +extern_asm(_memset); DXE_EXPORT_TABLE_AUTO (___dxe_eta___dxtn) DXE_EXPORT_ASM (___dj_assert) DXE_EXPORT_ASM (_free) DXE_EXPORT_ASM (_malloc) + DXE_EXPORT_ASM (_memset) DXE_EXPORT_END #endif |