diff options
Diffstat (limited to 'drivers/staging/wilc1000/wilc_type.h')
-rw-r--r-- | drivers/staging/wilc1000/wilc_type.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/wilc_type.h b/drivers/staging/wilc1000/wilc_type.h new file mode 100644 index 0000000..5f36e7f --- /dev/null +++ b/drivers/staging/wilc1000/wilc_type.h @@ -0,0 +1,34 @@ +/* ////////////////////////////////////////////////////////////////////////// */ +/* */ +/* Copyright (c) Atmel Corporation. All rights reserved. */ +/* */ +/* Module Name: wilc_type.h */ +/* */ +/* */ +/* //////////////////////////////////////////////////////////////////////////// */ +#ifndef WILC_TYPE_H +#define WILC_TYPE_H + +/******************************************** + * + * Type Defines + * + ********************************************/ +#ifdef WIN32 +typedef char int8_t; +typedef short int16_t; +typedef long int32_t; +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned long uint32_t; +#else +#ifdef _linux_ +/*typedef unsigned char uint8_t; + * typedef unsigned short uint16_t; + * typedef unsigned long uint32_t;*/ +#include <stdint.h> +#else +#include "wilc_oswrapper.h" +#endif +#endif +#endif |