mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Include malloc.h only for MS_VC. Other platforms have it in stdlib.h
This commit is contained in:
parent
f8d46f8dde
commit
ce8aa92846
@ -49,7 +49,9 @@
|
|||||||
// size.
|
// size.
|
||||||
|
|
||||||
#include <stdio.h> // only needed for debug (main)
|
#include <stdio.h> // only needed for debug (main)
|
||||||
|
#ifdef _MSC_VER
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
#endif
|
||||||
#include "reedsol.h"
|
#include "reedsol.h"
|
||||||
static int logmod; // 2**symsize - 1
|
static int logmod; // 2**symsize - 1
|
||||||
static int rlen;
|
static int rlen;
|
||||||
|
Loading…
Reference in New Issue
Block a user