2018-02-22 19:38:27 +00:00
|
|
|
#ifndef __KF_DEFS_H__
|
|
|
|
#define __KF_DEFS_H__
|
|
|
|
|
|
|
|
#ifdef __linux__
|
|
|
|
#include "linux/defs.h"
|
2018-02-24 03:19:29 +00:00
|
|
|
#else
|
|
|
|
typedef int KF_INT;
|
2018-02-28 03:59:29 +00:00
|
|
|
typedef long KF_LONG;
|
2018-02-24 03:19:29 +00:00
|
|
|
constexpr uint8_t STACK_SIZE = 16;
|
2018-02-22 19:38:27 +00:00
|
|
|
#endif
|
|
|
|
|
2018-02-23 22:01:52 +00:00
|
|
|
constexpr size_t MAX_TOKEN_LENGTH = 16;
|
2018-02-22 19:38:27 +00:00
|
|
|
|
|
|
|
#endif // __KF_DEFS_H__
|