Merge illwieckz their portability fix

This commit is contained in:
Marco Cawthorne 2021-08-03 18:27:19 +02:00
parent 3408871d79
commit be993ad422
3 changed files with 4 additions and 5 deletions

View File

@ -77,6 +77,10 @@ extern "C"
#define PICO_IOERR 2 #define PICO_IOERR 2
/* types */ /* types */
#ifndef byte
typedef unsigned char byte;
#endif
typedef struct picoParser_s typedef struct picoParser_s
{ {
const char *buffer; const char *buffer;

View File

@ -76,10 +76,6 @@
#define INFO_HEIGHT 5 #define INFO_HEIGHT 5
#define INFO_Y ( SKINPAGE_HEIGHT - INFO_HEIGHT ) #define INFO_Y ( SKINPAGE_HEIGHT - INFO_HEIGHT )
#ifndef byte
#define byte unsigned char
#endif
// //
// Generic header on every chunk // Generic header on every chunk

View File

@ -34,7 +34,6 @@
/* dependencies */ /* dependencies */
#include "picointernal.h" #include "picointernal.h"
#include "bytebool.h"
extern const picoModule_t picoModuleIQM; extern const picoModule_t picoModuleIQM;