VSF Documented
version.h
Go to the documentation of this file.
1#ifndef __VSF_LINUX_VERSION_H__
2#define __VSF_LINUX_VERSION_H__
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#define KERNEL_VERSION(__MAJOR, __MINOR, __PATCH) (((__MAJOR) << 16) + ((__MINOR) << 8) + (__PATCH))
9
10#define LINUX_VERSION_CODE KERNEL_VERSION(2, 6, 0)
11
12#ifdef __cplusplus
13}
14#endif
15
16#endif