Go to the documentation of this file.
23 #ifndef __HERMES_COMMON_COMPAT_H
24 #define __HERMES_COMMON_COMPAT_H
29 FILE *
fmemopen (
void *buf,
size_t size,
const char *opentype);
34 #if defined (HERMES_FOR_AGROS)
35 #define HERMES_API __declspec(dllexport)
37 #define HERMES_API __declspec(dllimport)
40 #if defined(WIN32) || defined(_WINDOWS)
42 #if defined(EXPORT_HERMES_DLL)
44 #define HERMES_API __declspec(dllexport)
47 #define HERMES_API __declspec(dllimport)
54 #ifndef HAVE_STRCASECMP
55 #define strcasecmp strcmp
66 #define strtold strtod
70 #define NORETURN __attribute__((noreturn))
74 #define __attribute__(x)