fixed detection of fmemopen() and open_memstream()
SVN revision: 8522
This commit is contained in:
parent
9a048bd058
commit
9af690822a
|
@ -15,6 +15,10 @@ AC_C_CONST
|
|||
AM_ENABLE_SHARED
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
dnl These are needed for fmemopen/open_memstream
|
||||
AC_DEFINE(_GNU_SOURCE, , [Enable GNU extensions])
|
||||
AC_DEFINE(__USE_GNU, , [Enable GNU extensions])
|
||||
|
||||
AC_CHECK_FUNCS(fmemopen)
|
||||
AC_CHECK_FUNCS(open_memstream)
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#define _GNU_SOURCE /* need this for fmemopen & open_memstream */
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
@ -17,7 +16,6 @@
|
|||
#include <fnmatch.h>
|
||||
#include <jpeglib.h>
|
||||
#include <setjmp.h>
|
||||
#include <zlib.h>
|
||||
#include <locale.h>
|
||||
|
||||
FILE *_eet_memfile_read_open(void *data, size_t size);
|
||||
|
|
Loading…
Reference in New Issue