aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_type.h
blob: 5f36e7f92cd1155b5ad5ffa70cbc063ac3de3ee8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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