No subject
Mon Nov 3 13:03:41 PST 2008
Modified: trunk/ezstream/src/compat.h
===================================================================
--- trunk/ezstream/src/compat.h 2009-03-15 10:59:55 UTC (rev 15768)
+++ trunk/ezstream/src/compat.h 2009-03-15 11:00:43 UTC (rev 15769)
@@ -39,6 +39,8 @@
#endif /* !SIZE_T_MAX */
#ifdef WIN32
+# include <windows.h>
+
# define _PATH_DEVNULL "nul"
# define pclose _pclose
@@ -46,7 +48,9 @@
# define snprintf _snprintf
# define stat _stat
# define strncasecmp strnicmp
-# define strtoll _strtoi64
+# ifndef __GNUC__
+# define strtoll _strtoi64
+# endif /* !__GNUC__ */
# define S_IRGRP 0
# define S_IROTH 0
More information about the commits
mailing list