1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-09-15 04:08:07 -04:00

Fixes for MinGW.

From Roman Donchenko <DXDragon at yandex dot ru>.


git-svn-id: https://svn.xiph.org/trunk/ezstream@15769 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
moritz 2009-03-15 11:00:43 +00:00
parent 97bfd5b1de
commit 057bc88dad

View File

@ -39,6 +39,8 @@
#endif /* !SIZE_T_MAX */ #endif /* !SIZE_T_MAX */
#ifdef WIN32 #ifdef WIN32
# include <windows.h>
# define _PATH_DEVNULL "nul" # define _PATH_DEVNULL "nul"
# define pclose _pclose # define pclose _pclose
@ -46,7 +48,9 @@
# define snprintf _snprintf # define snprintf _snprintf
# define stat _stat # define stat _stat
# define strncasecmp strnicmp # define strncasecmp strnicmp
# define strtoll _strtoi64 # ifndef __GNUC__
# define strtoll _strtoi64
# endif /* !__GNUC__ */
# define S_IRGRP 0 # define S_IRGRP 0
# define S_IROTH 0 # define S_IROTH 0