diff options
author | Michael Smith <msmith@xiph.org> | 2008-07-23 22:01:20 +0000 |
---|---|---|
committer | Michael Smith <msmith@xiph.org> | 2008-07-23 22:01:20 +0000 |
commit | 90fdf92640f4f1e091590718cace3c87718f745e (patch) | |
tree | 26a2cc96d0cc1a2a6ea458e0e78a4dc44d55252a /gst/goom/goom_config.h | |
parent | da2d6b62e9a289de0d11283b740d314fa09a6d4f (diff) |
gst/goom/: Fix build with MSVC: include glib.h to define inline appropriately, use header guards where needed.
Original commit message from CVS:
* gst/goom/convolve_fx.c:
* gst/goom/filters.c:
* gst/goom/goom_config.h:
* gst/goom/goom_core.c:
* gst/goom/goom_tools.h:
Fix build with MSVC: include glib.h to define inline appropriately,
use header guards where needed.
* gst/udp/gstudpnetutils.c:
* gst/udp/gstudpsrc.c:
Fix build with MSVC: use WSA* constants/functions where appropriate, use
g_snprintf rather than snprintf.
Fixes #544433.
Diffstat (limited to 'gst/goom/goom_config.h')
-rw-r--r-- | gst/goom/goom_config.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/gst/goom/goom_config.h b/gst/goom/goom_config.h index d44e23d1..e505882e 100644 --- a/gst/goom/goom_config.h +++ b/gst/goom/goom_config.h @@ -1,3 +1,5 @@ +#include <glib.h> + #if WORDS_BIGENDIAN #define COLOR_ARGB #else @@ -18,15 +20,8 @@ #define ALPHA 0 #endif -#ifndef guint32 -#define guint8 unsigned char -#define guin16 unsigned short -#define guint32 unsigned int -#define gint8 signed char -#define gint16 signed short int -#define gint32 signed int -#endif - #if defined (BUILD_MMX) && defined (HAVE_GCC_ASM) + #define HAVE_MMX #endif + |