mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-13 17:00:19 +00:00
Make mongoose compile for nRF51
PUBLISHED_FROM=6af3ed56802d2619f673c36059370440a0c06397
This commit is contained in:
1 parent
717e872fdd
commit
c04e3f80b9
14 files changed
+2693
-2
No files matched your search
+1
-1
@@ -10243,7 +10243,7 @@ int gettimeofday(struct timeval *tp, void *tzp) {
|
||||
* All rights reserved
|
||||
*/
|
||||
|
||||
#if CS_PLATFORM == CS_P_NRF52 && defined(__ARMCC_VERSION)
|
||||
#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;
|
||||
|
||||
Reference in new issue
Block a user