[MPlayer-cvslog] r37929 - trunk/configure

al subversion at mplayerhq.hu
Thu Apr 6 00:05:36 EEST 2017


Author: al
Date: Thu Apr  6 00:05:35 2017
New Revision: 37929

Log:
configure: Fix _aligned_malloc check

The check calls _aligned_malloc with a wrong number of arguments,
which results in an error.

Unbreak at least mingw64 after removal of the memalign hack from FFmpeg.

Fixes part of ticket #2318

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Apr  3 23:26:45 2017	(r37928)
+++ trunk/configure	Thu Apr  6 00:05:35 2017	(r37929)
@@ -3872,7 +3872,7 @@ echores "$_malloc"
 echocheck "aligned malloc"
 aligned_malloc=no
 def_aligned_malloc='#define HAVE_ALIGNED_MALLOC 0'
-statement_check malloc.h '_aligned_malloc(0)' && aligned_malloc=yes &&
+statement_check malloc.h '_aligned_malloc(1, 32)' && aligned_malloc=yes &&
   def_aligned_malloc='#define HAVE_ALIGNED_MALLOC 1'
 echores "$aligned_malloc"
 


More information about the MPlayer-cvslog mailing list