/usr/x86_64-w64-mingw32/include/msplog.h is in mingw-w64-x86-64-dev 2.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _MSPLOG_H_
#define _MSPLOG_H_
#ifdef MSPLOG
#include <rtutils.h>
#define MSP_ERROR ((DWORD)0x00010000 | TRACE_USE_MASK)
#define MSP_WARN ((DWORD)0x00020000 | TRACE_USE_MASK)
#define MSP_INFO ((DWORD)0x00040000 | TRACE_USE_MASK)
#define MSP_TRACE ((DWORD)0x00080000 | TRACE_USE_MASK)
#define MSP_EVENT ((DWORD)0x00100000 | TRACE_USE_MASK)
WINBOOL NTAPI MSPLogRegister(LPCTSTR szName);
void NTAPI MSPLogDeRegister();
void NTAPI LogPrint(DWORD dwDbgLevel,LPCSTR DbgMessage,...);
#define MSPLOGREGISTER(arg) MSPLogRegister(arg)
#define MSPLOGDEREGISTER() MSPLogDeRegister()
extern WINBOOL g_bMSPBaseTracingOn;
#define LOG(arg) g_bMSPBaseTracingOn?LogPrint arg:0
#else
#define MSPLOGREGISTER(arg)
#define MSPLOGDEREGISTER()
#define LOG(arg)
#endif
#define DECLARE_LOG_ADDREF_RELEASE(x)
#define CMSPComObject CComObject
#endif
|