Skip to content

Commit cc6a3b2

Browse files
committed
Fixes #372.
Merge changes to fix a build issue for the DJGPP/MS-DOS environment.
2 parents 810c613 + 6504d16 commit cc6a3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libjasper/base/jas_malloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ size_t jas_get_total_mem_size()
648648
return 0;
649649
}
650650
return JAS_CAST(size_t, value);
651-
#elif defined(__unix__) && (!defined(__linux__) && !defined(__APPLE__))
651+
#elif defined(__unix__) && (!defined(__linux__) && !defined(__APPLE__) && !defined(__DJGPP__))
652652
/*
653653
Reference:
654654
https://stackoverflow.com/questions/2513505/how-to-get-available-memory-c-g

0 commit comments

Comments
 (0)