mirror of
https://github.com/ErnyTech/Open-USB-Extreme
synced 2025-01-28 11:27:32 +01:00
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
|
||||
|
||||
#ifndef u8
|
||||
#if HAVE_STDINT
|
||||
#include <stdint.h>
|
||||
typedef uint8_t u8;
|
||||
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
|
||||
#include <stdint.h>
|
||||
typedef uint8_t u8;
|
||||
typedef uint16_t u16;
|
||||
#endif
|
||||
|
||||
#ifndef size_t
|
||||
#if HAVE_STDDEF
|
||||
#include <stddef.h>
|
||||
#else
|
||||
#error "size_t type has not been defined and missing stddef.h, please define your implementation of size_t"
|
||||
#endif
|
||||
#include <stddef.h>
|
||||
#endif
|
||||
|
||||
#define USBEXTREME_NAME_LENGTH 32
|
||||
|
Loading…
x
Reference in New Issue
Block a user