Commit 93630ce1 authored by Alexandre Julliard's avatar Alexandre Julliard

include: Remove redundant __WINE_USE_MSVCRT checks.

parent adccd96c
...@@ -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__ ) #ifdef __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 )
......
...@@ -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__))) #ifdef __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)
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <ddk/wdm.h> #include <ddk/wdm.h>
#if !defined(__WINE_USE_MSVCRT) || defined(__MINGW32__) #ifdef __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)
......
...@@ -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__) #ifdef __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
......
...@@ -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
......
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment