From 261088452aebcd55874ba9cfdea8bbc6534122a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Mon, 6 Sep 2004 18:34:37 +0000 Subject: Updates: - usability MSVC for frontends - remove unistd.h from public headers - add configure option "--with-dxheaders" - install .def file under WIN32 - MSVC port update (some people might want it) CVS patchset: 6944 CVS date: 2004/09/06 18:34:37 --- src/xine-utils/xineutils.h | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'src/xine-utils') diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index fffc2b304..6f5fecdf8 100644 --- a/src/xine-utils/xineutils.h +++ b/src/xine-utils/xineutils.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xineutils.h,v 1.91 2004/09/01 18:19:51 valtri Exp $ + * $Id: xineutils.h,v 1.92 2004/09/06 18:34:39 valtri Exp $ * */ #ifndef XINEUTILS_H @@ -27,7 +27,6 @@ extern "C" { #endif -#include #include #include #include @@ -578,6 +577,26 @@ typedef union { #endif /*ARCH_X86 */ +#ifndef HAVE_LSTAT +# define lstat(FILENAME, BUF) stat((FILENAME), (BUF)) +#endif + + +#ifdef _MSC_VER +# define snprintf _snprintf +# define vsnprintf _vsnprintf +#endif + + +#ifdef WIN32 +# ifndef strcasecmp +# define strcasecmp _stricmp +# endif +# ifndef strncasecmp +# define strncasecmp _strnicmp +# endif +#endif + /* Optimized/fast memcpy */ -- cgit v1.2.3