From 63a2f2a9774d21aa1983b9c8b5b2c7532d5d4a3c Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Mon, 1 Nov 2004 08:38:12 +0000 Subject: [PATCH] protected against old djgpp distros --- src/mesa/drivers/dos/dmesa.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.30.2