setupapi: Use _S_I(READ|WRITE) from sys/stat.h instead of redefining them.

This commit is contained in:
Alex Henrie 2022-12-05 23:40:20 -07:00 committed by Alexandre Julliard
parent 85bf404018
commit a1ae33a3ef
2 changed files with 1 additions and 4 deletions

View file

@ -104,10 +104,6 @@ struct callback_WtoA_context
UINT CALLBACK QUEUE_callback_WtoA( void *context, UINT notification, UINT_PTR, UINT_PTR ) DECLSPEC_HIDDEN;
/* from msvcrt/sys/stat.h */
#define _S_IWRITE 0x0080
#define _S_IREAD 0x0100
extern OSVERSIONINFOW OsVersionInfo DECLSPEC_HIDDEN;
extern BOOL create_fake_dll( const WCHAR *name, const WCHAR *source ) DECLSPEC_HIDDEN;

View file

@ -23,6 +23,7 @@
#include <stdlib.h>
#include <fcntl.h>
#include <share.h>
#include <sys/stat.h>
#include "windef.h"
#include "winbase.h"