+/*
+visor - lightweight system-independent embeddable text editor framework
+Copyright (C) 2019 John Tsiombikas <nuclear@member.fsf.org>
+
+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 <https://www.gnu.org/licenses/>.
+*/
#ifndef VISOR_LIBC_H_
#define VISOR_LIBC_H_
#include <stdarg.h>
#include <ctype.h>
#include <limit.h>
+#include <assert.h>
#else
int atoi(const char *str);
int toupper(int c);
int tolower(int c);
+#define assert(x)
+
#endif /* !HAVE_LIBC */
struct visor;