- more utilities, most importantly ZString without which it would be hard to use any ZDoom-based code at all.

This commit is contained in:
Christoph Oelckers 2019-09-23 20:56:05 +02:00
parent 034ce097c5
commit 86534c8a43
12 changed files with 4124 additions and 9 deletions

View file

@ -0,0 +1,15 @@
#ifndef __BASICS_H
#define __BASICS_H
#ifdef __GNUC__
#define GCCPRINTF(stri,firstargi) __attribute__((format(printf,stri,firstargi)))
#define GCCFORMAT(stri) __attribute__((format(printf,stri,0)))
#define GCCNOWARN __attribute__((unused))
#else
#define GCCPRINTF(a,b)
#define GCCFORMAT(a)
#define GCCNOWARN
#endif
#endif