introduce c11_compat.h to provide C11 things in C99

Right now, all it does is provide the new standard `static_assert()` name.

Fixes: fbf7c38da3 ("egl/wayland: use bitset.h for `formats` bit set")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Tested-by: Bhushan Shah <bshah@kde.org>
This commit is contained in:
Eric Engestrom
2019-07-23 13:44:33 +01:00
parent 64ffc289be
commit 9668d7f539
2 changed files with 28 additions and 0 deletions

View File

@@ -27,6 +27,7 @@
#include <assert.h>
#include "c99_compat.h"
#include "c11_compat.h"
/* Compute the size of an array */
#ifndef ARRAY_SIZE