tackeled some warnings

This commit is contained in:
Dominik Maier
2020-04-10 20:57:46 +02:00
parent 3209a9d4e8
commit d928b148d8
3 changed files with 11 additions and 2 deletions

View File

@ -28,6 +28,15 @@
#include "types.h"
#include "config.h"
/* __FUNCTION__ is non-iso */
#ifndef __FUNCTION__
#ifdef __func__
#define __FUNCTION__ __func__
#else
#define __FUNCTION__ "func_unknown"
#endif
#endif
/*******************
* Terminal colors *
*******************/