mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-27 20:48:29 +00:00
Simplify include paths
PUBLISHED_FROM=4e38db207dc2634e410339c81c5a2a87e8b188b0
This commit is contained in:
1 parent
e139bde6ae
commit
3f254dd3fc
2 files changed
+35
-23
No files matched your search
+12
@@ -271,6 +271,18 @@ int64_t strtoll(const char *str, char **endptr, int base);
|
||||
#define ARRAY_SIZE(array) (sizeof(array) / sizeof(array[0]))
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define NORETURN __attribute__((noreturn))
|
||||
#define UNUSED __attribute__((unused))
|
||||
#define NOINLINE __attribute__((noinline))
|
||||
#define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
#else
|
||||
#define NORETURN
|
||||
#define UNUSED
|
||||
#define NOINLINE
|
||||
#define WARN_UNUSED_RESULT
|
||||
#endif
|
||||
|
||||
#endif /* OSDEP_HEADER_INCLUDED */
|
||||
#ifndef _CS_DBG_H_
|
||||
#define _CS_DBG_H_
|
||||
|
||||
Reference in new issue
Block a user