Make mongoose compile for nRF51

PUBLISHED_FROM=6af3ed56802d2619f673c36059370440a0c06397
This commit is contained in:
Dmitry Frank authored and Cesanta Bot committed 2016-10-28 11:08:09 +00:00
1 parent 717e872fdd
commit c04e3f80b9
14 files changed
+2693 -2

No files matched your search

+1 -1
View File
@@ -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;