projects
/
mes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mescc: Support gcc-3.0: Implement atexit.
[mes.git]
/
lib
/
gcc.c
diff --git
a/lib/gcc.c
b/lib/gcc.c
index 45fa72fdc3f1009b7f5de06d7c8855109f21e647..e74d505ef5ff35f8006c576e8c209008f54df2c4 100644
(file)
--- a/
lib/gcc.c
+++ b/
lib/gcc.c
@@
-80,3
+80,11
@@
unsetenv (char const *name)
p++;
}
}
+
+// gcc-3.0
+int
+atexit (void (*function) (void))
+{
+ __call_at_exit = function;
+}
+