From 73a6e175cd0f0a27364d3b56b6c9cb2eca16414c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 2 Sep 2004 19:56:40 +0000 Subject: Warnings on WIN32. Compilation fix for CygWin. CVS patchset: 6932 CVS date: 2004/09/02 19:56:40 --- win32/include/unistd.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'win32/include') 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 -- cgit v1.2.3