-
Notifications
You must be signed in to change notification settings - Fork 4
/
zsglobal.h
30 lines (25 loc) · 902 Bytes
/
zsglobal.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* zsync - client side rsync over http
* Copyright (C) 2004,2005,2007,2009 Colin Phipps <cph@moria.org.uk>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the Artistic License v2 (see the accompanying
* file COPYING for the full license terms), or, at your option, any later
* version of the same license.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* COPYING file for details.
*/
#ifndef ZSGLOBAL_H
#define ZSGLOBAL_H
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#if defined(__GNUC__) && defined (__OpenBSD__)
# define ZS_DECL_BOUNDED(x,y,z) __attribute__((__bounded__(x,y,z)))
#else
# define ZS_DECL_BOUNDED(x,y,z)
#endif /* ZS_DECL_BOUNDED */
#endif