From aaca0e9822ba8bd2e59847f774cd4db619c5089b Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 14 Jan 2013 16:27:42 +0000 Subject: Add files from pkg-config 0.27.1 tarball Building from git requires glib, which is a circular dependency. As pkg-config releases happen roughly once a year, this isn't a big loss. --- glib/glib/glib-init.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 glib/glib/glib-init.h (limited to 'glib/glib/glib-init.h') diff --git a/glib/glib/glib-init.h b/glib/glib/glib-init.h new file mode 100644 index 0000000..bf1ecd0 --- /dev/null +++ b/glib/glib/glib-init.h @@ -0,0 +1,40 @@ +/* + * Copyright © 2011 Canonical Limited + * + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2 of the + * licence, or (at your option) any later version. + * + * This library 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 GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + * USA. + * + * Author: Ryan Lortie + */ + +#ifndef __GLIB_INIT_H__ +#define __GLIB_INIT_H__ + +#include "gmessages.h" + +G_GNUC_INTERNAL extern GLogLevelFlags g_log_always_fatal; +G_GNUC_INTERNAL extern GLogLevelFlags g_log_msg_prefix; +GLIB_VAR gboolean g_mem_gc_friendly; + +#ifdef G_OS_WIN32 +#include + +G_GNUC_INTERNAL void g_thread_win32_thread_detach (void); +G_GNUC_INTERNAL void g_thread_win32_init (void); +G_GNUC_INTERNAL void g_clock_win32_init (void); +G_GNUC_INTERNAL extern HMODULE glib_dll; +#endif + +#endif /* __GLIB_INIT_H__ */ -- cgit v1.2.1