HermesCommon  3.0
compat.h File Reference

File containing platform compatibility layer, especially for Win / MSVC. More...

#include <stdio.h>
#include "stddef.h"
#include "config.h"
#include <cstddef>

Go to the source code of this file.

Macros

#define HERMES_API
 
#define HERMES_COMMON_API
 
#define strcasecmp   strcmp
 
#define NORETURN
 
#define __attribute__(x)
 
#define nullptr   NULL
 

Functions

FILE * fmemopen (void *buf, size_t size, const char *opentype)
 Implementation of GNU fmemopen. Intended to be used if the current platform does not support it.
 

Detailed Description

File containing platform compatibility layer, especially for Win / MSVC.

Definition in file compat.h.