WindowsCompatibility.h File Reference

#include <BuildDefines.h>
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#include <winver.h>
#include <winnt.h>
#include <dbghelp.h>
#include <tlhelp32.h>

Go to the source code of this file.

Defines

#define atoll   _atoi64
#define DbgOnlyFatalError(errMsg)   ErrFatalErrorInContext(MODULE_NAME, __LINE__, errMsg)
#define DbgOnlyFatalErrorIf(condition, errMsg)   ((condition) ? DbgOnlyFatalError(errMsg) : (void)0)
#define ErrFatalOption_IgnoreAllowed   1
#define snprintf   _snprintf
#define vsnprintf   _vsnprintf

Functions

void ErrFatalErrorInContext (const char *fileName, uint32_t lineNum, const char *errMsg)
void init_thread_message_queue ()
int rand_r (unsigned int *seed)
const char * strerror_r (int errnumber, char *buf, size_t buflen)
size_t strlcpy (char *dst, char const *src, size_t size)
uint32_t strnlen (const char *str, int32_t maxLength)


Define Documentation

#define atoll   _atoi64
 

#define DbgOnlyFatalError errMsg   )     ErrFatalErrorInContext(MODULE_NAME, __LINE__, errMsg)
 

#define DbgOnlyFatalErrorIf condition,
errMsg   )     ((condition) ? DbgOnlyFatalError(errMsg) : (void)0)
 

#define ErrFatalOption_IgnoreAllowed   1
 

#define snprintf   _snprintf
 

#define vsnprintf   _vsnprintf
 


Function Documentation

void ErrFatalErrorInContext const char *  fileName,
uint32_t  lineNum,
const char *  errMsg
 

void init_thread_message_queue  ) 
 

int rand_r unsigned int *  seed  ) 
 

const char* strerror_r int  errnumber,
char *  buf,
size_t  buflen
 

size_t strlcpy char *  dst,
char const *  src,
size_t  size
 

uint32_t strnlen const char *  str,
int32_t  maxLength