mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
ifdefs needed to find malloc.h on the mac.
This commit is contained in:
parent
190360ea6a
commit
27ce2abc7b
@ -25,7 +25,11 @@
|
|||||||
#include "large.h"
|
#include "large.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <sys/malloc.h>
|
||||||
|
#else
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
void horiz(struct zint_symbol *symbol, int row_no, int full)
|
void horiz(struct zint_symbol *symbol, int row_no, int full)
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,11 @@
|
|||||||
#include "reedsol.h"
|
#include "reedsol.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <sys/malloc.h>
|
||||||
|
#else
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
int maxi_codeword[144];
|
int maxi_codeword[144];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user