fixed minor inconsistencies, reenabled warnings

This commit is contained in:
Dominik Maier
2020-08-10 19:04:51 +02:00
parent fb84103ffb
commit a422fcaa40
5 changed files with 12 additions and 9 deletions

View File

@ -29,10 +29,15 @@
#include "config.h"
/* __FUNCTION__ is non-iso */
#ifdef __func__
#define __FUNCTION__ __func__
#ifndef __FUNCTION__
#ifdef __func__
#define __FUNCTION__ __func__
#else
#define __FUNCTION__ "unknown_func"
#endif
#endif
/*******************
* Terminal colors *
*******************/