mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-04 10:18:31 +00:00
Fix some win32 definitions
You can now use psapi.dll and pdh.dll. Some TODOs for Windows have been cleared out. We might have a working load average for the platform that should help GNU Make work well.
This commit is contained in:
parent
e2e0b042c1
commit
c23b6ecc31
162 changed files with 847 additions and 153 deletions
|
@ -53,7 +53,6 @@ TEST(mprotect, test) {
|
|||
TEST(mprotect, testSegfault) {
|
||||
char *p;
|
||||
struct sigaction ss = {.sa_handler = OnSigSegv, .sa_flags = SA_NODEFER};
|
||||
if (IsWindows()) return; /* TODO */
|
||||
p = gc(memalign(PAGESIZE, PAGESIZE));
|
||||
EXPECT_NE(-1, sigaction(SIGBUS, &ss, NULL));
|
||||
EXPECT_NE(-1, sigaction(SIGSEGV, &ss, NULL));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue