Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Jul 17, 2024
1 parent 9e93a80 commit 7ad418c
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions amalgamation/amalgamation_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,14 @@
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>

#if !defined(_WIN32)
#include <unistd.h>
#else


#include <windows.h>

void usleep(int waitTime) {
__int64 time1 = 0, time2 = 0, freq = 0;

QueryPerformanceCounter((LARGE_INTEGER *) &time1);
QueryPerformanceFrequency((LARGE_INTEGER *)&freq);

do {
QueryPerformanceCounter((LARGE_INTEGER *) &time2);
} while((time2-time1) < waitTime);
void usleep(int waitTime)
{
// TODO: NOOP -> fix me
}

#endif

#include <sodium.h>
Expand Down

0 comments on commit 7ad418c

Please sign in to comment.