mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-12-04 14:46:31 -05:00
5a0bfa143b
git-svn-id: https://svn.xiph.org/trunk/ezstream@15798 0101bb08-14d6-0310-b084-bc0e0c8e3800
20 lines
389 B
C
20 lines
389 B
C
#ifndef __WIN32_COMPAT_H__
|
|
#define __WIN32_COMPAT_H__
|
|
|
|
/* #define WIN32_LEAN_AND_MEAN */
|
|
#include <io.h>
|
|
#include <process.h>
|
|
#include <winsock2.h>
|
|
#include <windows.h>
|
|
|
|
#define inline __inline
|
|
|
|
#define va_copy(dst, src) memcpy(&(dst), &(src), sizeof(va_list))
|
|
|
|
#define PATH_SEPARATORS "\\/"
|
|
|
|
#ifndef ssize_t
|
|
# define ssize_t long
|
|
#endif /* !ssize_t */
|
|
|
|
#endif /* __WIN32_COMPAT_H__ */ |