From: Daniel Borca Date: Mon, 1 Nov 2004 08:38:12 +0000 (+0000) Subject: protected against old djgpp distros X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63a2f2a9774d21aa1983b9c8b5b2c7532d5d4a3c;p=mesa.git protected against old djgpp distros --- diff --git a/src/mesa/drivers/dos/dmesa.c b/src/mesa/drivers/dos/dmesa.c index d3356ee40f6..2d3b2e64951 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 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