You.i Engine
YiPredefLinux.h
Go to the documentation of this file.
1 // © You i Labs Inc. All rights reserved.
2 #ifndef _YI_PREDEF_LINUX_H_
3 #define _YI_PREDEF_LINUX_H_
4 
5 #include <algorithm> // Commonly missing vs OSX
6 #include <cstring> // For std::memcmp for CYIStringView
7 #include <sys/types.h> // For ssize_t
8 
9 #if !defined(_SIZE_T_DEFINED) && !defined(_SIZE_T)
10 typedef unsigned int size_t;
11 # define _SIZE_T
12 # define _SIZE_T_DEFINED
13 #endif
14 
15 // Linux won't let std::hash be specialized unless the <functional> header is included.
16 #define YI_STD_HASH_REQUIRES_FUNCTIONAL_INCLUDE
17 
18 #endif // _YI_PREDEF_LINUX_H_
unsigned int size_t
Definition: YiPredefLinux.h:10