mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32: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
|
@ -45,7 +45,6 @@ static int MockOpen1(const char *file, int flags, ...) {
|
|||
}
|
||||
|
||||
TEST(mkostempsm, test1) {
|
||||
if (IsWindows()) return; /* TODO */
|
||||
uint64_t rando = 1;
|
||||
char path[PATH_MAX] = "/tmp/mkostemps.XXXXXX";
|
||||
EXPECT_EQ(123L, mkostempsmi(path, 0, 0, &rando, 0600, MockOpen1));
|
||||
|
@ -74,7 +73,6 @@ static int MockOpen2(const char *file, int flags, ...) {
|
|||
}
|
||||
|
||||
TEST(mkostempsm, test2) {
|
||||
if (IsWindows()) return; /* TODO */
|
||||
uint64_t rando = 1;
|
||||
char path[PATH_MAX] = "/tmp/mkostemps.XXXXXX";
|
||||
EXPECT_EQ(123, mkostempsmi(path, 0, 0, &rando, 0600, MockOpen2));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue