Mercurial > hg > xmms-sid
view src/xs_support.h @ 214:575686094eb1
Portability fixes
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 15 Dec 2004 11:02:02 +0000 |
parents | 8b896d461fdb |
children | 57231fe14369 |
line wrap: on
line source
#ifndef XS_SUPPORT_H #define XS_SUPPORT_H #ifdef __cplusplus extern "C" { #endif #include "xmms-sid.h" /* * Functions */ gchar xs_strncpy(gchar *, gchar *, size_t); gint xs_pstrcpy(gchar **, const gchar *); gint xs_pstrcat(gchar **, const 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 #ifdef __cplusplus } #endif #endif /* XS_SUPPORT_H */