mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-20 04:40:10 +01:00
Xfuncproto: define _X_NONSTRING for __attribute__((nonstring))
Bumps xproto version to 7.0.33 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
e4d9ffdd51
commit
50671520ef
2 changed files with 9 additions and 1 deletions
|
|
@ -218,4 +218,12 @@ in this Software without prior written authorization from The Open Group.
|
|||
# define _X_NOTSAN
|
||||
#endif
|
||||
|
||||
/* Mark a char array/pointer as not containing a NUL-terminated string */
|
||||
/* requires xproto >= 7.0.33 */
|
||||
#if __has_attribute(nonstring)
|
||||
# define _X_NONSTRING __attribute__((nonstring))
|
||||
#else
|
||||
# define _X_NONSTRING
|
||||
#endif
|
||||
|
||||
#endif /* _XFUNCPROTO_H_ */
|
||||
|
|
|
|||
|
|
@ -4,5 +4,5 @@ includex11dir=@includedir@/X11
|
|||
|
||||
Name: Xproto
|
||||
Description: Xproto headers
|
||||
Version: 7.0.32
|
||||
Version: 7.0.33
|
||||
Cflags: -I${includedir}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue