Merge branch 'embox-master'

This commit is contained in:
vurtun 2017-02-21 19:00:32 +01:00
commit 82b8ac0445
1 changed files with 11 additions and 5 deletions

View File

@ -271,11 +271,17 @@ extern "C" {
* ===============================================================
*/
#ifndef NK_API
#ifdef NK_PRIVATE
#define NK_API static
#else
#define NK_API extern
#endif
#ifdef NK_PRIVATE
#if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199409L))
#define NK_API static inline
#elif defined(__cplusplus)
#define NK_API static inline
#else
#define NK_API static
#endif
#else
#define NK_API extern
#endif
#endif
#define NK_INTERN static