add an "ifdef WIN32" to "include malloc.h" to be compliant with non-WIN32 platforms.

This commit is contained in:
Antonin Descampe 2007-02-28 15:55:03 +00:00
parent 192e46c32f
commit 44ab0ccf01
4 changed files with 16 additions and 0 deletions

View File

@ -1,5 +1,9 @@
#include <stdio.h>
#ifdef WIN32
#include <malloc.h>
#else
#include <stdlib.h>
#endif
#include <setjmp.h>
#include "mj2.h"

View File

@ -1,5 +1,9 @@
#include <stdio.h>
#ifdef WIN32
#include <malloc.h>
#else
#include <stdlib.h>
#endif
#include "mj2.h"
#include <j2k.h>

View File

@ -1,5 +1,9 @@
#include <stdio.h>
#ifdef WIN32
#include <malloc.h>
#else
#include <stdlib.h>
#endif
#include <setjmp.h>
#include "mj2.h"

View File

@ -1,5 +1,9 @@
#include <stdio.h>
#ifdef WIN32
#include <malloc.h>
#else
#include <stdlib.h>
#endif
#include <setjmp.h>
#include <string.h>