Piotr Caban (@piotr) commented about dlls/msvcrt/tests/file.c:
- int _flag;
- int _file;
- int _charbuf;
- 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");
This will not compile with PSDK (at least with version that define FILE so it only contains `void * _Placeholder`). Please remove that test and use `test_iobuf` struct instead.