blob: d845ddf595dd0024e6157b02a8de20616a3d6b77 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From 46cc9298c38b9dd735fec3f39aa2d6e56a362410 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 28 Mar 2017 21:33:36 -0700
4Subject: [PATCH 2/2] mp4v2: Define __STRING if cdefs.h does not exist
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 common/mp4v2/mp4util.h | 4 ++++
9 1 file changed, 4 insertions(+)
10
11diff --git a/common/mp4v2/mp4util.h b/common/mp4v2/mp4util.h
12index 1f9cb64..1e7aced 100644
13--- a/common/mp4v2/mp4util.h
14+++ b/common/mp4v2/mp4util.h
15@@ -23,6 +23,10 @@
16 #define __MP4_UTIL_INCLUDED__
17 #include <assert.h>
18
19+#ifndef __STRING
20+#define __STRING(x) #x
21+#endif
22+
23 #ifndef ASSERT
24 #define ASSERT(expr) \
25 if (!(expr)) { \
26--
272.12.1
28