Revert "locamation-im: fix windows build"

This reverts commit ee509cc3f25eacecd60a73da135a2065c34a77d8.
This commit is contained in:
Ferry Huberts 2022-12-31 19:58:46 +01:00 committed by AndersBroman
parent 67483b58bd
commit 9386404984
1 changed files with 0 additions and 4 deletions

View File

@ -504,11 +504,7 @@ static void add_timestamp_sample(tvbuff_t *tvb, packet_info *pinfo, gint *tvb_of
/* Convert the timestamp seconds to a split time type */
time_t sample_time = (time_t)seconds;
struct tm sample_time_split;
#ifdef _WIN32
gmtime_s(&sample_time_split, &sample_time);
#else
gmtime_r(&sample_time, &sample_time_split);
#endif
/* Construct the readable sync status */
const gchar *sync_status_buf = val_to_str(sync_status, samples_timestamps_sample_sync_status, "Unknown (%u)");