mirror of
https://github.com/grblHAL/core.git
synced 2026-09-21 10:35:31 +08:00
Merge pull request #367 from infnorm/fix-macosx
Fix to compile on MacOS X
This commit is contained in:
@@ -33,9 +33,12 @@
|
||||
#include <time.h>
|
||||
|
||||
#define vfs_load_plugin(x)
|
||||
#define bcopy(src, dest, len) memmove(dest, src, len)
|
||||
|
||||
#if !(defined(__time_t_defined) || defined(__MSP432P401R__) || defined(PART_TM4C123GH6PM))
|
||||
#ifndef bcopy
|
||||
#define bcopy(src, dest, len) memmove(dest, src, len)
|
||||
#endif
|
||||
|
||||
#if !(defined(__time_t_defined) || defined(_TIME_H_) || defined(__MSP432P401R__) || defined(PART_TM4C123GH6PM))
|
||||
typedef struct {
|
||||
short date;
|
||||
short time;
|
||||
|
||||
Reference in New Issue
Block a user