Windows Tweaks #691
No reviewers
Labels
No Label
API Change
Breaking API Change
bug
build
cosmetics
Documentation
duplicate
feature
help wanted
hotfix
invalid
question
Refactor
Tests
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: fsfw/fsfw#691
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "eive/fsfw:windows-tweaks-upstream"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Have you executed the unit tests on windows?
@ -8,6 +8,7 @@
#if defined(PLATFORM_WIN)
#include <sysinfoapi.h>
#define timegm _mkgmtime
Interesting
@ -66,1 +65,4 @@
// Therefore we have to use a Mutex here
MutexGuard helper(timeMutex);
#ifdef PLATFORM_WIN
time_t time;
Have you executed the unittests with the windows version?
hmm not sure about the unittests, I definitely compiled and ran it on Windows. Might check again.
Unittests running on Windows with some tweaks
@ -8,0 +8,4 @@
#ifdef PLATFORM_WIN
// Defined in Windows header for whatever reason, and leads to nameclash issues with
// class enums which have entries of the same name.
#undef IN
I don't understand those but if it works, I'm ok with that.
Fixes #603
Unittest work on windows