fixed compilation error under cygwin which defines WIN32

This commit is contained in:
Stanislav Shwartsman 2013-09-26 19:51:30 +00:00
parent fa06b26c88
commit 01c0f07e4e

View File

@ -93,11 +93,18 @@ extern "C" {
#define CD_FRAMESIZE 2048
#elif !defined(WIN32) // all others (Irix, Tru64)
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#define BX_CD_FRAMESIZE 2048
#define CD_FRAMESIZE 2048
#else // WIN32
#define BX_CD_FRAMESIZE 2048
#define CD_FRAMESIZE 2048
#endif
#include <stdio.h>