diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-17 11:16:19 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-17 11:16:19 +0000 |
commit | be8c67909b4bb6bedf014706a53abef10ddb5a52 (patch) | |
tree | 76f9b3593704bae0ae577c1a395205d5ed0cc4dd /configure | |
parent | e98a6e2bff65dbcec13eb41c99637c5e2ddcf317 (diff) | |
download | mpv-be8c67909b4bb6bedf014706a53abef10ddb5a52.tar.bz2 mpv-be8c67909b4bb6bedf014706a53abef10ddb5a52.tar.xz |
Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:
mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3149,10 +3149,10 @@ cc_check && _malloc=yes if test "$_malloc" = yes ; then def_malloc_h='#define HAVE_MALLOC_H 1' else - def_malloc_h='#undef HAVE_MALLOC_H' + def_malloc_h='#define HAVE_MALLOC_H 0' fi # malloc.h emits a warning in FreeBSD and OpenBSD -freebsd || openbsd || dragonfly && def_malloc_h='#undef HAVE_MALLOC_H' +freebsd || openbsd || dragonfly && def_malloc_h='#define HAVE_MALLOC_H 0' echores "$_malloc" |