Commit c6953589 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'ef5b70af'

* commit 'ef5b70af':
  configure: Check for support for labels in the inline assembly

The timer code is not placed under ifdef as ours does not use labels
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 161047f0 ef5b70af
...@@ -1465,6 +1465,7 @@ HAVE_LIST=" ...@@ -1465,6 +1465,7 @@ HAVE_LIST="
ibm_asm ibm_asm
inet_aton inet_aton
io_h io_h
inline_asm_labels
isatty isatty
jack_port_get_latency_range jack_port_get_latency_range
kbhit kbhit
...@@ -3787,6 +3788,8 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; ...@@ -3787,6 +3788,8 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
EOF EOF
od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
check_inline_asm inline_asm_labels '"1:\n"'
if enabled alpha; then if enabled alpha; then
check_cflags -mieee check_cflags -mieee
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
#include <stdint.h> #include <stdint.h>
#include "config.h"
#define AV_READ_TIME read_time #define AV_READ_TIME read_time
static inline uint64_t read_time(void) static inline uint64_t read_time(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment