Piotr Caban (@piotr) commented about dlls/msvcrt/tests/file.c:
- int _bufsiz;
- char* _tmpfname;
+};
+static void test_iobuf_layout(void) +{
- char *tempf;
- FILE *file;
- char *ptrold;
- int cntold;
- ok(offsetof(FILE, _base)==offsetof(struct test_iobuf, _base) &&
offsetof(FILE, _cnt)==offsetof(struct test_iobuf, _cnt), "FILE layout incorrect");
+#ifdef _UCRT
- ok(stdout!=stdin+1, "ucrt stdout FILE must not be adject to stdin");
- ok(_IOBUFFER_CRT == 0x0040 && _IOBUFFER_CRT == _IOMYBUF, "UCRT _IOBUFFER_CRT should be 0x0040");
This will also not compile with PSDK and should be removed.