mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-28 12:30:58 +00:00
Now src contains exactly what's embedded in mongoose.c and .h, nothing more. Added `tools/amalgam.sh` to aamlgamate both files at once. There are no functional changes to mongoose.c, .h in this PR, only slight filename changes.
11 lines
217 B
C
11 lines
217 B
C
|
|
#if (CS_PLATFORM == CS_P_NRF51 || CS_PLATFORM == CS_P_NRF52) && \
|
|
defined(__ARMCC_VERSION)
|
|
int gettimeofday(struct timeval *tp, void *tzp) {
|
|
/* TODO */
|
|
tp->tv_sec = 0;
|
|
tp->tv_usec = 0;
|
|
return 0;
|
|
}
|
|
#endif
|