miou-solo5/lib/stubs.default.c
2024-12-07 16:04:56 +01:00

21 lines
443 B
C

#include <caml/memory.h>
#ifndef __unused
# if defined(_MSC_VER) && _MSC_VER >= 1500
# define __unused(x) __pragma( warning (push) ) \
__pragma( warning (disable:4189 ) ) \
x \
__pragma( warning (pop))
# else
# define __unused(x) x __attribute__((unused))
# endif
#endif
#define __unit() value __unused(unit)
intnat miou_solo5_clock_monotonic(__unit ()) {
return 0;
}
intnat miou_solo5_clock_wall(__unit ()) {
return 0;
}