Josef,
There should be checks for the define _WIN32_WCE in the following headers and source files:
<wolfssl-root>/wolfssl/internal.h
<wolfssl-root>/wolfssl/wolfcrypt/wc_port.h
<wolfssl-root>/wolfcrypt/src/wc_port.c
<wolfssl-root>/src/wolfio.c
If you are not seeing those defines could you tell me which version of the wolfssl library you are working with by checking <wolfssl-root>/wolfssl/version.h?
For example in <wolfssl-root>/wolfcrypt/src/wc_port.c:
1227 #ifndef NO_ASN_TIME
1228 #if defined(_WIN32_WCE)
1229 time_t windows_time(time_t* timer)
1230 {
1231 SYSTEMTIME sysTime;
1232 FILETIME fTime;
1233 ULARGE_INTEGER intTime;
1234 time_t localTime;
1235
1236 if (timer == NULL)
1237 timer = &localTime;
1238
1239 GetSystemTime(&sysTime);
1240 SystemTimeToFileTime(&sysTime, &fTime);
1241
1242 XMEMCPY(&intTime, &fTime, sizeof(FILETIME));
1243 /* subtract EPOCH */
1244 intTime.QuadPart -= 0x19db1ded53e8000;
1245 /* to secs */
1246 intTime.QuadPart /= 10000000;
1247 *timer = (time_t)intTime.QuadPart;
1248
1249 return *timer;
1250 }
1251 #endif /* _WIN32_WCE */
....
Warm Regards,
Kaleb