Changeset View
Changeset View
Standalone View
Standalone View
contrib/zstd/lib/common/error_private.h
Show All 14 Lines | |||||
#if defined (__cplusplus) | #if defined (__cplusplus) | ||||
extern "C" { | extern "C" { | ||||
#endif | #endif | ||||
/* **************************************** | /* **************************************** | ||||
* Dependencies | * Dependencies | ||||
******************************************/ | ******************************************/ | ||||
#ifdef _KERNEL | |||||
#include <sys/param.h> /* size_t */ | |||||
#else | |||||
#include <stddef.h> /* size_t */ | #include <stddef.h> /* size_t */ | ||||
#endif | |||||
#include "zstd_errors.h" /* enum list */ | #include "zstd_errors.h" /* enum list */ | ||||
/* **************************************** | /* **************************************** | ||||
* Compiler-specific | * Compiler-specific | ||||
******************************************/ | ******************************************/ | ||||
#if defined(__GNUC__) | #if defined(__GNUC__) | ||||
# define ERR_STATIC static __attribute__((unused)) | # define ERR_STATIC static __attribute__((unused)) | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |