From 296178913c5dfbc2b35842fc16ed680ef51fd402 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 5 Apr 2015 17:05:57 -0400 Subject: nt32: initial commit of core port files. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information. --- src/internal/nt32/libc.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/internal/nt32/libc.c (limited to 'src/internal/nt32/libc.c') diff --git a/src/internal/nt32/libc.c b/src/internal/nt32/libc.c new file mode 100644 index 0000000..43face8 --- /dev/null +++ b/src/internal/nt32/libc.c @@ -0,0 +1,7 @@ +#include "../libc.h" + +/* todo: teach the linker to export weak symbols */ +#undef weak_alias +#define weak_alias(old,new) extern __typeof(old) new __attribute__((alias(#old))) + +#include "../libc.c" -- cgit v1.2.3