diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2004-09-02 19:56:40 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2004-09-02 19:56:40 +0000 |
commit | 73a6e175cd0f0a27364d3b56b6c9cb2eca16414c (patch) | |
tree | b82b023389a653cd17f31ca42bc0d0b68598b0fb /win32/include/unistd.h | |
parent | 67883645a55e1b9af703aa774a4193ea1a4f3fb7 (diff) | |
download | xine-lib-73a6e175cd0f0a27364d3b56b6c9cb2eca16414c.tar.gz xine-lib-73a6e175cd0f0a27364d3b56b6c9cb2eca16414c.tar.bz2 |
Warnings on WIN32.
Compilation fix for CygWin.
CVS patchset: 6932
CVS date: 2004/09/02 19:56:40
Diffstat (limited to 'win32/include/unistd.h')
-rw-r--r-- | win32/include/unistd.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/win32/include/unistd.h b/win32/include/unistd.h index 23776f772..ae2cc4fcb 100644 --- a/win32/include/unistd.h +++ b/win32/include/unistd.h @@ -38,7 +38,7 @@ #define _SYS_UNISTD_H_ #ifndef inline -#define inline __inline +# define inline __inline #endif #define mkdir( A, B ) _mkdir( A ) @@ -48,15 +48,15 @@ # define S_ISDIR(m) ((m) & _S_IFDIR) #endif -#ifndef S_ISDIR +#ifndef S_ISREG # define S_ISREG(m) ((m) & _S_IFREG) #endif -#ifndef S_ISDIR +#ifndef S_ISBLK # define S_ISBLK(m) 0 #endif -#ifndef S_ISDIR +#ifndef S_ISCHR # define S_ISCHR(m) 0 #endif @@ -87,7 +87,6 @@ #define snprintf _snprintf #define vsnprintf _vsnprintf -// FIXME : I dont remember why this is here -#define readlink +#define readlink(PATH, BUF, BUFSIZ) 0 #endif |