aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-11-01 08:38:12 +0000
committerDaniel Borca <[email protected]>2004-11-01 08:38:12 +0000
commit63a2f2a9774d21aa1983b9c8b5b2c7532d5d4a3c (patch)
treedd16f6e3e2bd64e8ef2955bb77400b841f011dd1 /src/mesa
parent3c17d73c87ca2dc49487a9ab26c0d654e404b782 (diff)
protected against old djgpp distros
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dos/dmesa.c4
1 files changed, 3 insertions, 1 deletions
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 <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