summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-17 11:16:19 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-17 11:16:19 +0000
commitbe8c67909b4bb6bedf014706a53abef10ddb5a52 (patch)
tree76f9b3593704bae0ae577c1a395205d5ed0cc4dd /loader
parente98a6e2bff65dbcec13eb41c99637c5e2ddcf317 (diff)
downloadmpv-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 'loader')
-rw-r--r--loader/drv.c2
-rw-r--r--loader/ext.c2
-rw-r--r--loader/win32.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/loader/drv.c b/loader/drv.c
index b8fecf7467..e3fb4da116 100644
--- a/loader/drv.c
+++ b/loader/drv.c
@@ -7,7 +7,7 @@
#include "debug.h"
#include <stdio.h>
-#ifdef HAVE_MALLOC_H
+#if HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <stdlib.h>
diff --git a/loader/ext.c b/loader/ext.c
index 495afb9aac..0486f7c09b 100644
--- a/loader/ext.c
+++ b/loader/ext.c
@@ -14,7 +14,7 @@
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
-#ifdef HAVE_MALLOC_H
+#if HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <unistd.h>
diff --git a/loader/win32.c b/loader/win32.c
index 172a91afa9..2ee9f1ea7e 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -53,7 +53,7 @@ for DLL to know too much about its environment.
#include <ctype.h>
#include <pthread.h>
#include <errno.h>
-#ifdef HAVE_MALLOC_H
+#if HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <time.h>