mirror of
https://git.code.sf.net/p/zint/code
synced 2024-09-19 23:39:02 -04:00
Include malloc.h only for MS_VC. Other platforms have it in stdlib.h
This commit is contained in:
parent
f8d46f8dde
commit
ce8aa92846
1 changed files with 2 additions and 0 deletions
|
@ -49,7 +49,9 @@
|
|||
// size.
|
||||
|
||||
#include <stdio.h> // only needed for debug (main)
|
||||
#ifdef _MSC_VER
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#include "reedsol.h"
|
||||
static int logmod; // 2**symsize - 1
|
||||
static int rlen;
|
||||
|
|
Loading…
Reference in a new issue