Usermode/libc - Fix strchr and strrchr behavior
[tpg/acess2.git] / Usermode / Libraries / libc.so_src / lib.h
1 /*\r
2  * Acess2 Basic Lib C\r
3  * lib.h\r
4 */\r
5 #ifndef _LIB_H\r
6 #define _LIB_H\r
7 \r
8 #include <stddef.h>\r
9 #include <stdint.h>\r
10 \r
11 #define BUILD_SO        1\r
12 \r
13 #if defined(BUILD_DLL)\r
14 #define EXPORT  __declspec(dllexport)\r
15 #define LOCAL\r
16 #elif defined(BUILD_SO)\r
17 #define EXPORT\r
18 #define LOCAL\r
19 #endif\r
20 \r
21 #define UNUSED(type, param)     __attribute__((unused)) type UNUSED__##param\r
22 \r
23 extern void *memcpy(void *dest, const void *src, size_t n);\r
24 \r
25 typedef struct sCPUID   tCPUID;\r
26 \r
27 struct sCPUID\r
28 {\r
29         uint8_t SSE;\r
30         uint8_t SSE2;\r
31 };\r
32 \r
33 #endif\r

UCC git Repository :: git.ucc.asn.au