Mercurial > audlegacy-plugins
view src/sid/xs_support.h @ 88:80a28e538008 trunk
[svn] - Replace ?= at CFLAGS, CPPFLAGS and CXXFLAGS with +=
- Replace ?= at CC, CPP and CXX with =
The reason for this is that on some systems CC, CFLAGS, CPP, CPPFLAGS,
CXX and CXXFLAGS are set by default and therefore are already set at
this step so that it can happen that the wrong variables are used (or
the ones from the configure script are ignored).
author | js |
---|---|
date | Sat, 07 Oct 2006 13:34:06 -0700 |
parents | 3da1b8942b8b |
children | 6c3c7b841382 |
line wrap: on
line source
#ifndef XS_SUPPORT_H #define XS_SUPPORT_H #ifdef __cplusplus extern "C" { #endif #include "xmms-sid.h" #include <stdio.h> #ifdef HAVE_STRING_H #include <string.h> #else #ifdef HAVE_STRINGS_H #include <strings.h> #endif #endif #ifdef HAVE_MEMORY_H #include <memory.h> #endif /* * Functions */ guint16 xs_rd_be16(FILE *); guint32 xs_rd_be32(FILE *); size_t xs_rd_str(FILE *, gchar *, size_t); gchar *xs_strncpy(gchar *, gchar *, size_t); gint xs_pstrcpy(gchar **, const gchar *); gint xs_pstrcat(gchar **, const gchar *); void xs_pnstrcat(gchar *, size_t, gchar *); gchar *xs_strrchr(gchar *, gchar); inline void xs_findnext(gchar *, guint *); inline void xs_findeol(gchar *, guint *); inline void xs_findnum(gchar *, guint *); #ifdef HAVE_MEMSET #define xs_memset memset #else void *xs_memset(void *, int, size_t); #endif #ifdef __cplusplus } #endif #endif /* XS_SUPPORT_H */