It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
** Copyright 2001, Travis Geiselbrecht. All rights reserved.
|
||||
** Distributed under the terms of the NewOS License.
|
||||
*/
|
||||
#ifndef _CDEFS_H
|
||||
#define _CDEFS_H
|
||||
|
||||
#ifdef __GNUC__
|
||||
# define __PRINTFLIKE(__fmt,__varargs) __attribute__((__format__ (__printf__, __fmt, __varargs)))
|
||||
# define __SCANFLIKE(__fmt,__varargs) __attribute__((__format__ (__scanf__, __fmt, __varargs)))
|
||||
# define __PURE __attribute__((__const__))
|
||||
#else
|
||||
# define __PRINTFLIKE(__fmt,__varargs)
|
||||
# define __SCANFLIKE(__fmt,__varargs)
|
||||
# define __PURE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user