Remove cmake dependency checks in usbextreme.h
Signed-off-by: Ernesto Castellotti <erny.castell@gmail.com>
This commit is contained in:
parent
91ef9e42bb
commit
bf7c15b3af
|
@ -2,21 +2,13 @@
|
||||||
#define USBEXTREME_H
|
#define USBEXTREME_H
|
||||||
|
|
||||||
#ifndef u8
|
#ifndef u8
|
||||||
#if HAVE_STDINT
|
#include <stdint.h>
|
||||||
#include <stdint.h>
|
typedef uint8_t u8;
|
||||||
typedef uint8_t u8;
|
typedef uint16_t u16;
|
||||||
typedef uint16_t u16;
|
|
||||||
#else
|
|
||||||
#error "u8 and u16 types have not been defined and missing stdint.h, please define your implementation of u8 and u16"
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef size_t
|
#ifndef size_t
|
||||||
#if HAVE_STDDEF
|
#include <stddef.h>
|
||||||
#include <stddef.h>
|
|
||||||
#else
|
|
||||||
#error "size_t type has not been defined and missing stddef.h, please define your implementation of size_t"
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define USBEXTREME_NAME_LENGTH 32
|
#define USBEXTREME_NAME_LENGTH 32
|
||||||
|
|
Loading…
Reference in New Issue