Files
OpenBK7231T_App/src/win_stubs.c
2023-01-12 01:02:36 +01:00

36 lines
501 B
C

// stubs so I can compile HTTP server on Windows for testing and faster development
#include "new_common.h"
#if WINDOWS
void CMD_StartTCPCommandLine() {
}
void Main_SetupPingWatchDog(const char *target/*, int delayBetweenPings_Seconds*/) {
}
int PingWatchDog_GetTotalLost() {
return 0;
}
int PingWatchDog_GetTotalReceived() {
return 0;
}
// placeholder - TODO
char myIP[] = "127.0.0.1";
char *getMyIp() {
return myIP;
}
#ifndef LINUX
void __asm__(const char *s) {
}
#else
#endif
#endif