mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 14:06:12 +00:00
[CABINET_WINETEST] Sync with Wine Staging 4.18. CORE-16441
This commit is contained in:
parent
0e4180451f
commit
22c0673bd9
1 changed files with 3 additions and 11 deletions
|
@ -20,6 +20,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include "fci.h"
|
#include "fci.h"
|
||||||
#include "fdi.h"
|
#include "fdi.h"
|
||||||
|
@ -31,16 +33,6 @@
|
||||||
|
|
||||||
static CHAR CURR_DIR[MAX_PATH];
|
static CHAR CURR_DIR[MAX_PATH];
|
||||||
|
|
||||||
/* avoid including CRT headers */
|
|
||||||
#ifndef _O_BINARY
|
|
||||||
# define _O_BINARY 0x8000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _S_IREAD
|
|
||||||
# define _S_IREAD 0x0100
|
|
||||||
# define _S_IWRITE 0x0080
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <pshpack1.h>
|
#include <pshpack1.h>
|
||||||
|
|
||||||
struct CFHEADER
|
struct CFHEADER
|
||||||
|
@ -784,7 +776,7 @@ static UINT CDECL fdi_mem_read(INT_PTR hf, void *pv, UINT cb)
|
||||||
|
|
||||||
static UINT CDECL fdi_mem_write(INT_PTR hf, void *pv, UINT cb)
|
static UINT CDECL fdi_mem_write(INT_PTR hf, void *pv, UINT cb)
|
||||||
{
|
{
|
||||||
static const char expected[12] = "Hello World!";
|
static const char expected[] = "Hello World!";
|
||||||
|
|
||||||
trace("mem_write(%#lx,%p,%u)\n", hf, pv, cb);
|
trace("mem_write(%#lx,%p,%u)\n", hf, pv, cb);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue