debuggers.hg

view tools/libxl/libxl_osdeps.h @ 21067:b4a1832a916f

Update Xen version to 4.0.0-rc6
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 09 18:18:05 2010 +0000 (2010-03-09)
parents 20063cea1606
children df9d8319bd37
line source
1 /*
2 * Copyright (C) 2009 Citrix Ltd.
3 * Author Stefano Stabellini <stefano.stabellini@eu.citrix.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published
7 * by the Free Software Foundation; version 2.1 only. with the special
8 * exception on linking described in file LICENSE.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 */
16 /*
17 * This header must be included first, before any system headers,
18 * so that _GNU_SOURCE takes effect properly.
19 */
21 #ifndef LIBXL_OSDEP
22 #define LIBXL_OSDEP
24 #define _GNU_SOURCE
26 #ifdef NEED_OWN_ASPRINTF
27 #include <stdarg.h>
29 int asprintf(char **buffer, char *fmt, ...);
30 int vasprintf(char **buffer, const char *fmt, va_list ap);
31 #endif /*NEED_OWN_ASPRINTF*/
33 #endif