]>
Commit | Line | Data |
---|---|---|
c5c77ba1 JK |
1 | /* ////////////////////////////////////////////////////////////////////////// */ |
2 | /* */ | |
3 | /* Copyright (c) Atmel Corporation. All rights reserved. */ | |
4 | /* */ | |
5 | /* Module Name: wilc_type.h */ | |
6 | /* */ | |
7 | /* */ | |
8 | /* //////////////////////////////////////////////////////////////////////////// */ | |
9 | #ifndef WILC_TYPE_H | |
10 | #define WILC_TYPE_H | |
11 | ||
12 | /******************************************** | |
13 | * | |
14 | * Type Defines | |
15 | * | |
16 | ********************************************/ | |
17 | #ifdef WIN32 | |
18 | typedef char int8_t; | |
19 | typedef short int16_t; | |
20 | typedef long int32_t; | |
21 | typedef unsigned char uint8_t; | |
22 | typedef unsigned short uint16_t; | |
23 | typedef unsigned long uint32_t; | |
24 | #else | |
25 | #ifdef _linux_ | |
26 | /*typedef unsigned char uint8_t; | |
27 | * typedef unsigned short uint16_t; | |
28 | * typedef unsigned long uint32_t;*/ | |
29 | #include <stdint.h> | |
30 | #else | |
31 | #include "wilc_oswrapper.h" | |
32 | #endif | |
33 | #endif | |
34 | #endif |