Clang: do not redeclare __SIZE_TYPE__

This commit is contained in:
Ehmry - 2019-09-06 11:05:00 +02:00
parent 92fb940485
commit 706774819a
1 changed files with 2 additions and 0 deletions

View File

@ -40,7 +40,9 @@
/*
* Resolve ambiguity between 'Genode::size_t' and the host's header's 'size_t'.
*/
#ifndef __SIZE_TYPE__
#define size_t __SIZE_TYPE__
#endif
/* Linux includes */
#include <sys/cdefs.h> /* include first to avoid double definition of '__always_inline' */