From 6c723e8f054324d25b66b063ca666fbf962d5a35 Mon Sep 17 00:00:00 2001 From: Michael Adams Date: Sun, 11 Feb 2024 14:55:12 -0800 Subject: [PATCH] Attempt to fix a build problem for the DJGPP/MS-DOS environment. --- src/libjasper/base/jas_malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libjasper/base/jas_malloc.c b/src/libjasper/base/jas_malloc.c index 7233f649..0863b5cf 100644 --- a/src/libjasper/base/jas_malloc.c +++ b/src/libjasper/base/jas_malloc.c @@ -648,7 +648,7 @@ size_t jas_get_total_mem_size() return 0; } return JAS_CAST(size_t, value); -#elif defined(__unix__) && (!defined(__linux__) && !defined(__APPLE__)) +#elif defined(__unix__) && (!defined(__linux__) && !defined(__APPLE__) && !(defined(__DJGPP__)) /* Reference: https://stackoverflow.com/questions/2513505/how-to-get-available-memory-c-g