25 lines
652 B
C
25 lines
652 B
C
#pragma once
|
|
|
|
#ifndef __INTELLISENSE__
|
|
#define MODULE_EXPORT __attribute__((visibility("default")))
|
|
#define MODULE_WASM_MODNAME(mod) __attribute__((import_module(mod)))
|
|
#else
|
|
#define MODULE_EXPORT
|
|
#define MODULE_WASM_MODNAME(mod)
|
|
#define __attribute__(x)
|
|
#define __restrict__
|
|
#endif
|
|
|
|
// C headers
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
// C++ headers
|
|
#include <ctime>
|
|
|
|
/******************************** Constants ********************************/
|
|
// Module identification
|
|
#define MODULE_NAME "[KHOFMANN TFDi MD-11 Load Manager] "
|
|
#define VERSION_STRING "2.40"
|
|
|
|
void toLog(FILE *file, const char *format, double *optional = nullptr); |