We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70a2933 commit f4c7a69Copy full SHA for f4c7a69
src/ansi-c/library/windows.c
@@ -1,5 +1,6 @@
1
/* FUNCTION: QueryPerformanceFrequency */
2
3
+#ifdef _WIN32
4
#include <windows.h>
5
6
BOOL QueryPerformanceFrequency(LARGE_INTEGER *lpFrequency)
@@ -12,19 +13,23 @@ BOOL QueryPerformanceFrequency(LARGE_INTEGER *lpFrequency)
12
13
__CPROVER_assume(result!=0);
14
return 1;
15
}
16
+#endif
17
18
/* FUNCTION: ExitThread */
19
20
21
22
23
inline VOID ExitThread(DWORD dwExitCode)
24
{
25
// never returns
26
__CPROVER_assume(0);
27
28
29
30
/* FUNCTION: CreateThread */
31
32
33
34
35
inline HANDLE CreateThread(
@@ -45,3 +50,4 @@ inline HANDLE CreateThread(
45
50
HANDLE handle;
46
51
return handle;
47
52
53
0 commit comments