From 7cb41b65617a34b12148094a32bcfb2854d97ba6 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 11 Feb 2011 18:05:16 +0800 Subject: [PATCH] gdk/gdkconfig.h.win32: Make it more up-to-date Make this pre-configured file to be more like the one used by the existing X11 version, but using GDK_WINDOWING_WIN32 for obvious reasons. --- gdk/gdkconfig.h.win32 | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/gdk/gdkconfig.h.win32 b/gdk/gdkconfig.h.win32 index 7bd668e81e..c941eb86a0 100644 --- a/gdk/gdkconfig.h.win32 +++ b/gdk/gdkconfig.h.win32 @@ -1,31 +1,22 @@ /* gdkconfig.h * - * This is a pre-generated file. + * This is a generated file. Please modify `configure.ac' */ -#ifndef GDKCONFIG_H -#define GDKCONFIG_H +#ifndef __GDKCONFIG_H__ +#define __GDKCONFIG_H__ -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#include + +G_BEGIN_DECLS -#ifndef GSEAL -/* introduce GSEAL() here for all of Gdk and Gtk+ without the need to modify GLib */ -# ifdef GSEAL_ENABLE -# define GSEAL(ident) _g_sealed__ ## ident -# else -# define GSEAL(ident) ident -# endif -#endif /* !GSEAL */ #define GDK_WINDOWING_WIN32 -#define GDK_HAVE_WCHAR_H 1 -#define GDK_HAVE_WCTYPE_H 1 +G_END_DECLS -#ifdef __cplusplus -} -#endif /* __cplusplus */ - -#endif /* GDKCONFIG_H */ +#endif /* __GDKCONFIG_H__ */