Changeset View
Changeset View
Standalone View
Standalone View
contrib/zstd/lib/common/zstd_errors.h
Show All 9 Lines | |||||
#ifndef ZSTD_ERRORS_H_398273423 | #ifndef ZSTD_ERRORS_H_398273423 | ||||
#define ZSTD_ERRORS_H_398273423 | #define ZSTD_ERRORS_H_398273423 | ||||
#if defined (__cplusplus) | #if defined (__cplusplus) | ||||
extern "C" { | extern "C" { | ||||
#endif | #endif | ||||
/*===== dependency =====*/ | /*===== dependency =====*/ | ||||
#ifdef _KERNEL | |||||
#include <sys/param.h> /* size_t */ | |||||
#else | |||||
#include <stddef.h> /* size_t */ | #include <stddef.h> /* size_t */ | ||||
#endif | |||||
/* ===== ZSTDERRORLIB_API : control library symbols visibility ===== */ | /* ===== ZSTDERRORLIB_API : control library symbols visibility ===== */ | ||||
#ifndef ZSTDERRORLIB_VISIBILITY | #ifndef ZSTDERRORLIB_VISIBILITY | ||||
# if defined(__GNUC__) && (__GNUC__ >= 4) | # if defined(__GNUC__) && (__GNUC__ >= 4) | ||||
# define ZSTDERRORLIB_VISIBILITY __attribute__ ((visibility ("default"))) | # define ZSTDERRORLIB_VISIBILITY __attribute__ ((visibility ("default"))) | ||||
# else | # else | ||||
# define ZSTDERRORLIB_VISIBILITY | # define ZSTDERRORLIB_VISIBILITY | ||||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |