1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00

WORDSIZE detection by Björn Sandell <biorn@dce.chalmers.se>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7421 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-09-16 19:37:57 +00:00
parent ced94d0021
commit c9ffe1f356

11
configure vendored
View File

@ -1645,6 +1645,15 @@ else
fi
echores "$_inttypes"
echocheck "word size"
_mp_wordsize="#undef MP_WORDSIZE"
cat > $TMPC << EOF
#include <stdio.h>
#include <sys/types.h>
int main(void) { printf("%d\n", sizeof(size_t)*8); return 0; }
EOF
cc_check && _wordsize=`$TMPO` && _mp_wordsize="#define MP_WORDSIZE $_wordsize"
echores "$_wordsize"
echocheck "stddef.h"
cat > $TMPC << EOF
@ -4692,6 +4701,8 @@ $_def_confwin32
/* Define this to any prefered value from 386 up to infinity with step 100 */
#define __CPU__ $iproc
$_mp_wordsize
$_def_linux
$_def_vcd