summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
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 /cpudetect.c
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 'cpudetect.c')
-rw-r--r--cpudetect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpudetect.c b/cpudetect.c
index 3dd3329d7e..8d306b1c3b 100644
--- a/cpudetect.c
+++ b/cpudetect.c
@@ -4,7 +4,7 @@
CpuCaps gCpuCaps;
-#ifdef HAVE_MALLOC_H
+#if HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <stdlib.h>