Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
93630ce1
Commit
93630ce1
authored
Jun 12, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Remove redundant __WINE_USE_MSVCRT checks.
parent
adccd96c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
14 deletions
+4
-14
driver_hid.h
dlls/dinput/tests/driver_hid.h
+1
-1
custom.c
dlls/msi/tests/custom.c
+1
-1
utils.h
dlls/ntoskrnl.exe/tests/utils.h
+1
-1
corecrt.h
include/msvcrt/corecrt.h
+1
-1
winternl.h
include/winternl.h
+0
-4
service.c
programs/services/tests/service.c
+0
-6
No files found.
dlls/dinput/tests/driver_hid.h
View file @
93630ce1
...
@@ -177,7 +177,7 @@ static inline const char *debugstr_ioctl( ULONG code )
...
@@ -177,7 +177,7 @@ static inline const char *debugstr_ioctl( ULONG code )
#ifndef __WINE_WINE_TEST_H
#ifndef __WINE_WINE_TEST_H
#if
!defined( __WINE_USE_MSVCRT ) || defined( __MINGW32__ )
#if
def __MINGW32__
#define __WINE_PRINTF_ATTR( fmt, args ) __attribute__((format( printf, fmt, args )))
#define __WINE_PRINTF_ATTR( fmt, args ) __attribute__((format( printf, fmt, args )))
#else
#else
#define __WINE_PRINTF_ATTR( fmt, args )
#define __WINE_PRINTF_ATTR( fmt, args )
...
...
dlls/msi/tests/custom.c
View file @
93630ce1
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
#include <msiquery.h>
#include <msiquery.h>
#include <msidefs.h>
#include <msidefs.h>
#if
defined(__MINGW32__) || (!defined(__WINE_USE_MSVCRT) && (defined(__GNUC__) || defined(__clang__)))
#if
def __MINGW32__
#define __WINE_PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args)))
#define __WINE_PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args)))
#else
#else
#define __WINE_PRINTF_ATTR(fmt,args)
#define __WINE_PRINTF_ATTR(fmt,args)
...
...
dlls/ntoskrnl.exe/tests/utils.h
View file @
93630ce1
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#include <ddk/wdm.h>
#include <ddk/wdm.h>
#if
!defined(__WINE_USE_MSVCRT) || defined(__MINGW32__)
#if
def __MINGW32__
#define __WINE_PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args)))
#define __WINE_PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args)))
#else
#else
#define __WINE_PRINTF_ATTR(fmt,args)
#define __WINE_PRINTF_ATTR(fmt,args)
...
...
include/msvcrt/corecrt.h
View file @
93630ce1
...
@@ -323,7 +323,7 @@ typedef struct threadlocaleinfostruct {
...
@@ -323,7 +323,7 @@ typedef struct threadlocaleinfostruct {
#define _THREADLOCALEINFO
#define _THREADLOCALEINFO
#endif
#endif
#if
!defined(__WINE_USE_MSVCRT) || defined(__MINGW32__)
#if
def __MINGW32__
#define __WINE_CRT_PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args)))
#define __WINE_CRT_PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args)))
#define __WINE_CRT_SCANF_ATTR(fmt,args) __attribute__((format (scanf,fmt,args)))
#define __WINE_CRT_SCANF_ATTR(fmt,args) __attribute__((format (scanf,fmt,args)))
#else
#else
...
...
include/winternl.h
View file @
93630ce1
...
@@ -4823,10 +4823,6 @@ NTSYSAPI void WINAPI TpWaitForWork(TP_WORK *,BOOL);
...
@@ -4823,10 +4823,6 @@ NTSYSAPI void WINAPI TpWaitForWork(TP_WORK *,BOOL);
NTSYSAPI
NTSTATUS
WINAPI
vDbgPrintEx
(
ULONG
,
ULONG
,
LPCSTR
,
__ms_va_list
);
NTSYSAPI
NTSTATUS
WINAPI
vDbgPrintEx
(
ULONG
,
ULONG
,
LPCSTR
,
__ms_va_list
);
NTSYSAPI
NTSTATUS
WINAPI
vDbgPrintExWithPrefix
(
LPCSTR
,
ULONG
,
ULONG
,
LPCSTR
,
__ms_va_list
);
NTSYSAPI
NTSTATUS
WINAPI
vDbgPrintExWithPrefix
(
LPCSTR
,
ULONG
,
ULONG
,
LPCSTR
,
__ms_va_list
);
#ifndef __WINE_USE_MSVCRT
NTSYSAPI
int
__cdecl
_strnicmp
(
LPCSTR
,
LPCSTR
,
size_t
);
#endif
/* 32-bit or 64-bit only functions */
/* 32-bit or 64-bit only functions */
#ifdef _WIN64
#ifdef _WIN64
...
...
programs/services/tests/service.c
View file @
93630ce1
...
@@ -26,12 +26,6 @@
...
@@ -26,12 +26,6 @@
#include "wine/test.h"
#include "wine/test.h"
#if !defined(__WINE_USE_MSVCRT) || defined(__MINGW32__)
#define __WINE_PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args)))
#else
#define __WINE_PRINTF_ATTR(fmt,args)
#endif
static
SERVICE_STATUS_HANDLE
(
WINAPI
*
pRegisterServiceCtrlHandlerExA
)(
LPCSTR
,
LPHANDLER_FUNCTION_EX
,
LPVOID
);
static
SERVICE_STATUS_HANDLE
(
WINAPI
*
pRegisterServiceCtrlHandlerExA
)(
LPCSTR
,
LPHANDLER_FUNCTION_EX
,
LPVOID
);
static
HANDLE
pipe_handle
=
INVALID_HANDLE_VALUE
;
static
HANDLE
pipe_handle
=
INVALID_HANDLE_VALUE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment