mirror of
https://github.com/facebook/zstd.git
synced 2025-07-06 07:37:29 +02:00
Add userland test with mock kernel headers
This commit is contained in:
12
contrib/linux-kernel/test/include/linux/compiler.h
Normal file
12
contrib/linux-kernel/test/include/linux/compiler.h
Normal file
@ -0,0 +1,12 @@
|
||||
#ifndef LINUX_COMIPLER_H_
|
||||
#define LINUX_COMIPLER_H_
|
||||
|
||||
#ifndef __always_inline
|
||||
# define __always_inline inline
|
||||
#endif
|
||||
|
||||
#ifndef noinline
|
||||
# define noinline __attribute__((__noinline__))
|
||||
#endif
|
||||
|
||||
#endif // LINUX_COMIPLER_H_
|
Reference in New Issue
Block a user