Commit 5e91281e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: add headers for CrystalHD for win32

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 7c22d840
da996732b1a4ff86f9bb36ca70cd203c0456d613b0ebdcddf4a2e33c2dd6dd9c3211bf6f3df5dd4c6e6c4a5a53d2ba1f7cd00eff2b2bd247195b8870ebc73bcd crystalhd_lgpl_includes.zip
--- bc_dts_types.h.old 2011-11-30 03:20:14.715875756 +0100
+++ bc_dts_types.h 2011-11-30 03:21:25.692227718 +0100
@@ -38,7 +38,7 @@
typedef int BOOL;
#endif
-#ifdef WIN32
+#ifdef _MSC_VER
typedef unsigned __int64 U64;
#else
typedef unsigned long long U64;
@@ -81,6 +81,7 @@
#else
+#ifndef HAVE_STDINT_H
#ifndef uint64_t
typedef struct _uint64_t {
unsigned long low_dw;
@@ -103,6 +104,7 @@
#ifndef uint8_t
typedef unsigned char uint8_t;
#endif
+#endif /* STDINT_H */
#endif
#endif
# CrystalHD headers
CRYSTAL_HEADERS_URL := http://www.broadcom.com/docs/support/crystalhd/crystalhd_lgpl_includes.zip
$(TARBALLS)/crystalhd_lgpl_includes.zip:
$(call download,$(CRYSTAL_HEADERS_URL))
CRYSTAL_SOURCES := crystalhd_lgpl_includes.zip
.sum-crystalhd: $(CRYSTAL_SOURCES)
.crystalhd: $(CRYSTAL_SOURCES) .sum-crystalhd
mkdir -p -- "$(PREFIX)/include/libcrystalhd"
unzip $< -d "$(PREFIX)/include/libcrystalhd"
patch -p0 -f -d $(PREFIX)/include/libcrystalhd < ../src/crystalhd/mingw.patch
touch $@
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