diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2004-09-06 18:34:37 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2004-09-06 18:34:37 +0000 |
commit | 261088452aebcd55874ba9cfdea8bbc6534122a0 (patch) | |
tree | a02f0717c43f30d7fb55e6a9f4e0d4134798ba63 /src/xine-utils | |
parent | e1ea9c13f9d15c4f9bf1372678fe9827be626be0 (diff) | |
download | xine-lib-261088452aebcd55874ba9cfdea8bbc6534122a0.tar.gz xine-lib-261088452aebcd55874ba9cfdea8bbc6534122a0.tar.bz2 |
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
Diffstat (limited to 'src/xine-utils')
-rw-r--r-- | src/xine-utils/xineutils.h | 23 |
1 files changed, 21 insertions, 2 deletions
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 <unistd.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> @@ -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 */ |