mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
put back the #define, but call it GDK_PIXBUF_C_COMPILATION.
2008-05-27 Michael Natterer <mitch@imendio.com> * gdk-pixbuf.c: put back the #define, but call it GDK_PIXBUF_C_COMPILATION. * gdk-pixbuf-features.h.in: make variable export depend on that define instead of GDK_PIXBUF_COMPILATION. svn path=/trunk/; revision=20189
This commit is contained in:
parent
f498fc887f
commit
4449e5032c
@ -1,3 +1,11 @@
|
||||
2008-05-27 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gdk-pixbuf.c: put back the #define, but call it
|
||||
GDK_PIXBUF_C_COMPILATION.
|
||||
|
||||
* gdk-pixbuf-features.h.in: make variable export depend on that
|
||||
define instead of GDK_PIXBUF_COMPILATION.
|
||||
|
||||
2008-05-27 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
Fix and simplify definition of GDK_PIXBUF_VAR:
|
||||
|
@ -13,15 +13,15 @@
|
||||
# ifdef GDK_PIXBUF_STATIC_COMPILATION
|
||||
# define GDK_PIXBUF_VAR extern
|
||||
# else /* !GDK_PIXBUF_STATIC_COMPILATION */
|
||||
# ifdef GDK_PIXBUF_COMPILATION
|
||||
# ifdef GDK_PIXBUF_C_COMPILATION
|
||||
# ifdef DLL_EXPORT
|
||||
# define GDK_PIXBUF_VAR __declspec(dllexport)
|
||||
# else /* !DLL_EXPORT */
|
||||
# define GDK_PIXBUF_VAR extern
|
||||
# endif /* !DLL_EXPORT */
|
||||
# else /* !GDK_PIXBUF_COMPILATION */
|
||||
# else /* !GDK_PIXBUF_C_COMPILATION */
|
||||
# define GDK_PIXBUF_VAR extern __declspec(dllimport)
|
||||
# endif /* !GDK_PIXBUF_COMPILATION */
|
||||
# endif /* !GDK_PIXBUF_C_COMPILATION */
|
||||
# endif /* !GDK_PIXBUF_STATIC_COMPILATION */
|
||||
#else /* !G_PLATFORM_WIN32 */
|
||||
# define GDK_PIXBUF_VAR extern
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#define GDK_PIXBUF_C_COMPILATION
|
||||
#include "gdk-pixbuf.h"
|
||||
#include "gdk-pixbuf-private.h"
|
||||
/* Include the marshallers */
|
||||
|
Loading…
Reference in New Issue
Block a user