mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- more utilities, most importantly ZString without which it would be hard to use any ZDoom-based code at all.
This commit is contained in:
parent
034ce097c5
commit
86534c8a43
12 changed files with 4124 additions and 9 deletions
15
source/common/utility/basics.h
Normal file
15
source/common/utility/basics.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue