X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=visor;a=blobdiff_plain;f=libvisor%2Fsrc%2Fvilibc.h;h=f9e8d062b263f7c6672336e96540d3562c00db01;hp=e9555857a16fb4ba403234857e93a7e40324386c;hb=2e3cec9f53a10e7c71da4a0d999a00bddae2935c;hpb=9f0326a07930f909b44433f5d0e3b556d0b16a51 diff --git a/libvisor/src/vilibc.h b/libvisor/src/vilibc.h index e955585..f9e8d06 100644 --- a/libvisor/src/vilibc.h +++ b/libvisor/src/vilibc.h @@ -1,3 +1,20 @@ +/* +visor - lightweight system-independent embeddable text editor framework +Copyright (C) 2019 John Tsiombikas + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with this program. If not, see . +*/ #ifndef VISOR_LIBC_H_ #define VISOR_LIBC_H_ @@ -13,6 +30,7 @@ #include #include #include +#include #else int atoi(const char *str); @@ -54,6 +72,8 @@ int isspace(int c); int toupper(int c); int tolower(int c); +#define assert(x) + #endif /* !HAVE_LIBC */ struct visor;