Changeset View
Changeset View
Standalone View
Standalone View
contrib/zstd/lib/common/fse.h
Show All 37 Lines | |||||
#ifndef FSE_H | #ifndef FSE_H | ||||
#define FSE_H | #define FSE_H | ||||
/*-***************************************** | /*-***************************************** | ||||
* Dependencies | * Dependencies | ||||
******************************************/ | ******************************************/ | ||||
#ifdef _KERNEL | |||||
#include <sys/param.h> /* size_t, ptrdiff_t */ | |||||
#else | |||||
#include <stddef.h> /* size_t, ptrdiff_t */ | #include <stddef.h> /* size_t, ptrdiff_t */ | ||||
#endif | |||||
/*-***************************************** | /*-***************************************** | ||||
* FSE_PUBLIC_API : control library symbols visibility | * FSE_PUBLIC_API : control library symbols visibility | ||||
******************************************/ | ******************************************/ | ||||
#if defined(FSE_DLL_EXPORT) && (FSE_DLL_EXPORT==1) && defined(__GNUC__) && (__GNUC__ >= 4) | #if defined(FSE_DLL_EXPORT) && (FSE_DLL_EXPORT==1) && defined(__GNUC__) && (__GNUC__ >= 4) | ||||
# define FSE_PUBLIC_API __attribute__ ((visibility ("default"))) | # define FSE_PUBLIC_API __attribute__ ((visibility ("default"))) | ||||
#elif defined(FSE_DLL_EXPORT) && (FSE_DLL_EXPORT==1) /* Visual expected */ | #elif defined(FSE_DLL_EXPORT) && (FSE_DLL_EXPORT==1) /* Visual expected */ | ||||
▲ Show 20 Lines • Show All 650 Lines • Show Last 20 Lines |