* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef OS_SUPPORT_H
-#define OS_SUPPORT_H
+#ifndef FFMPEG_OS_SUPPORT_H
+#define FFMPEG_OS_SUPPORT_H
/**
* @file os_support.h
* miscellaneous OS support macros and functions.
- *
- * - socklen_t typedef (BeOS, Innotek libc)
- * - usleep() (Win32, BeOS)
- * - lseek() (Win32)
- * - closesocket()
- * - poll() (BeOS, MinGW)
*/
-#if defined(__BEOS__) || defined(__INNOTEK_LIBC__)
+#ifndef HAVE_SOCKLEN_T
typedef int socklen_t;
#endif
#endif
#ifdef CONFIG_FFSERVER
-#ifndef HAVE_SYS_POLL_H
+#ifndef HAVE_POLL_H
typedef unsigned long nfds_t;
struct pollfd {
extern int poll(struct pollfd *fds, nfds_t numfds, int timeout);
-#endif /* HAVE_SYS_POLL_H */
+#endif /* HAVE_POLL_H */
#endif /* CONFIG_FFSERVER */
-#endif /* OS_SUPPORT_H */
+#endif /* FFMPEG_OS_SUPPORT_H */