mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-13 06:34:32 -04:00
ifdefs needed to find malloc.h on the mac.
This commit is contained in:
parent
190360ea6a
commit
27ce2abc7b
2 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue