diff options
Diffstat (limited to 'meta-multimedia/recipes-multimedia/faac/files/0001-mp4v2-Define-__STRING-if-cdefs.h-does-not-exist.patch')
| -rw-r--r-- | meta-multimedia/recipes-multimedia/faac/files/0001-mp4v2-Define-__STRING-if-cdefs.h-does-not-exist.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meta-multimedia/recipes-multimedia/faac/files/0001-mp4v2-Define-__STRING-if-cdefs.h-does-not-exist.patch b/meta-multimedia/recipes-multimedia/faac/files/0001-mp4v2-Define-__STRING-if-cdefs.h-does-not-exist.patch deleted file mode 100644 index d845ddf595..0000000000 --- a/meta-multimedia/recipes-multimedia/faac/files/0001-mp4v2-Define-__STRING-if-cdefs.h-does-not-exist.patch +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | From 46cc9298c38b9dd735fec3f39aa2d6e56a362410 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 28 Mar 2017 21:33:36 -0700 | ||
| 4 | Subject: [PATCH 2/2] mp4v2: Define __STRING if cdefs.h does not exist | ||
| 5 | |||
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 7 | --- | ||
| 8 | common/mp4v2/mp4util.h | 4 ++++ | ||
| 9 | 1 file changed, 4 insertions(+) | ||
| 10 | |||
| 11 | diff --git a/common/mp4v2/mp4util.h b/common/mp4v2/mp4util.h | ||
| 12 | index 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 | -- | ||
| 27 | 2.12.1 | ||
| 28 | |||
