webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Functions
windows_port.h File Reference
#include "config.h"
#include <windows.h>
#include <direct.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>

Go to the source code of this file.

Macros

#define _WIN32_WINNT   0x0400
 
#define WIN32_LEAN_AND_MEAN
 
#define vsnprintf(str, size, format, ap)   safe_vsnprintf(str, size, format, ap)
 
#define va_copy(dst, src)   (dst) = (src)
 
#define strcasecmp   _stricmp
 
#define PRId32   "d"
 
#define PRIu32   "u"
 
#define PRId64   "I64d"
 
#define PRIu64   "I64u"
 
#define strtoq   _strtoi64
 
#define strtouq   _strtoui64
 
#define strtoll   _strtoi64
 
#define strtoull   _strtoui64
 
#define atoll   _atoi64
 
#define PATH_MAX   1024
 

Functions

GFLAGS_DLL_DECL int snprintf (char *str, size_t size, const char *format,...)
 
int GFLAGS_DLL_DECL safe_vsnprintf (char *str, size_t size, const char *format, va_list ap)
 
void setenv (const char *name, const char *value, int)
 

Macro Definition Documentation

◆ _WIN32_WINNT

#define _WIN32_WINNT   0x0400

◆ atoll

#define atoll   _atoi64

◆ PATH_MAX

#define PATH_MAX   1024

◆ PRId32

#define PRId32   "d"

◆ PRId64

#define PRId64   "I64d"

◆ PRIu32

#define PRIu32   "u"

◆ PRIu64

#define PRIu64   "I64u"

◆ strcasecmp

#define strcasecmp   _stricmp

◆ strtoll

#define strtoll   _strtoi64

◆ strtoq

#define strtoq   _strtoi64

◆ strtoull

#define strtoull   _strtoui64

◆ strtouq

#define strtouq   _strtoui64

◆ va_copy

#define va_copy (   dst,
  src 
)    (dst) = (src)

◆ vsnprintf

#define vsnprintf (   str,
  size,
  format,
  ap 
)    safe_vsnprintf(str, size, format, ap)

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Function Documentation

◆ safe_vsnprintf()

int GFLAGS_DLL_DECL safe_vsnprintf ( char *  str,
size_t  size,
const char *  format,
va_list  ap 
)

◆ setenv()

void setenv ( const char *  name,
const char *  value,
int   
)
inline

◆ snprintf()

GFLAGS_DLL_DECL int snprintf ( char *  str,
size_t  size,
const char *  format,
  ... 
)