1 #ifndef CROSSPLATFORM_H
2 #define CROSSPLATFORM_H
18 #define PATH_MAX MAX_PATH
21 int usleep(
unsigned int microseconds);
23 char * stpncpy (
char * dst,
const char * src,
size_t len);
25 unsigned long millis(
void);
26 void delay(uint32_t ms);
27 #elif defined(__linux__) || defined(__APPLE__)
30 unsigned long millis(
void);
31 void delay(uint32_t ms);