• R/O
  • SSH

libctools: Commit

This library contains code that extends and simplifies different operations
for C language based programs.


Commit MetaInfo

Revisiónf99c8c2ce5be3291d8ba3b035494db5b309d99ec (tree)
Tiempo2022-10-05 13:01:55
AutorSergey Gusarov <laborer2008@gmai...>
CommiterSergey Gusarov

Log Message

test_console: Fixed link error with sdcc

Cambiar Resumen

Diferencia incremental

diff -r 8c8c8d3c5796 -r f99c8c2ce5be tests/src/test_console.c
--- a/tests/src/test_console.c Wed Oct 05 06:44:46 2022 +0300
+++ b/tests/src/test_console.c Wed Oct 05 07:01:55 2022 +0300
@@ -23,6 +23,13 @@
2323 {
2424 }
2525
26+#ifdef CT_COMPL_SDCC
27+int getchar(void)
28+{
29+ return 0;
30+}
31+#endif
32+
2633 void testCompile(void)
2734 {
2835 CT_USING_CT_NAMESPACE
Show on old repository browser