From 5935b6fbe5c4d83ea35a1464b3a1c32e00b23304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 16 Jun 2007 15:34:23 +0200 Subject: Rename the BE/LE/ME macros with a _X_ prefix, so they don't clash with Solaris definitions (1.2 branch commit). --- src/demuxers/ebml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/demuxers/ebml.c') diff --git a/src/demuxers/ebml.c b/src/demuxers/ebml.c index 88492dde6..487344316 100644 --- a/src/demuxers/ebml.c +++ b/src/demuxers/ebml.c @@ -297,12 +297,12 @@ int ebml_read_float (ebml_parser_t *ebml, ebml_elem_t *elem, double *num) { if (size == 4) { float f; - *((uint32_t *) &f) = BE_32(data); + *((uint32_t *) &f) = _X_BE_32(data); *num = f; } else { double d; - *((uint64_t *) &d) = BE_64(data); + *((uint64_t *) &d) = _X_BE_64(data); *num = d; } return 1; -- cgit v1.2.3