Skip to content

Commit

Permalink
Mark WINAPI as __stdcall
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed Jan 22, 2025
1 parent 1204017 commit b0cb331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/stc/coroutine.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,8 @@ typedef struct { ptrdiff_t count; } cco_semaphore;
#define _c_LINKC __declspec(dllimport)
#endif
struct _FILETIME;
_c_LINKC void GetSystemTimeAsFileTime(struct _FILETIME*);
_c_LINKC void Sleep(unsigned long);
_c_LINKC void __stdcall GetSystemTimeAsFileTime(struct _FILETIME*);
_c_LINKC void __stdcall Sleep(unsigned long);

static inline double cco_time(void) { /* seconds since epoch */
unsigned long long quad; /* 64-bit value representing 1/10th usecs since Jan 1 1601, 00:00 UTC */
Expand Down

0 comments on commit b0cb331

Please sign in to comment.