diff -rubB rocksndiamonds-2.0.0/Makefile rocksndiamonds-2.0.0-cygwin/Makefile --- rocksndiamonds-2.0.0/Makefile Sun Dec 31 16:24:30 2000 +++ rocksndiamonds-2.0.0-cygwin/Makefile Sat Oct 13 08:12:39 2001 @@ -12,7 +12,7 @@ # specify path to X11 on your system # if undefined, use system defaults (works with Linux/gcc/libc5) -X11_PATH = /usr/X11 +X11_PATH = /usr/X11R6 # specify directory for read-only game data (like graphics, sounds, levels) # default is '.', so you can play without installing game data somewhere diff -rubB rocksndiamonds-2.0.0/src/Makefile rocksndiamonds-2.0.0-cygwin/src/Makefile --- rocksndiamonds-2.0.0/src/Makefile Mon Jan 1 18:02:21 2001 +++ rocksndiamonds-2.0.0-cygwin/src/Makefile Sat Oct 13 15:00:35 2001 @@ -6,13 +6,16 @@ .EXPORT_ALL_VARIABLES: ifndef PLATFORM # platform not specified -- try auto detection +ifeq ($(OSTYPE),cygwin) # MS-DOS native compiling +PLATFORM = unix +else ifdef COMSPEC PLATFORM = msdos else PLATFORM = unix endif endif - +endif ifdef X11_PATH # path to X11 specified by top level Makefile XINC_PATH = $(X11_PATH)/include XLIB_PATH = $(X11_PATH)/lib diff -rubB rocksndiamonds-2.0.0/src/libgame/sound.h rocksndiamonds-2.0.0-cygwin/src/libgame/sound.h --- rocksndiamonds-2.0.0/src/libgame/sound.h Sat Dec 16 21:07:58 2000 +++ rocksndiamonds-2.0.0-cygwin/src/libgame/sound.h Sat Oct 13 16:39:34 2001 @@ -22,7 +22,9 @@ #include #endif -#if defined(PLATFORM_LINUX) +#if defined(__CYGWIN__) +#include +#elif defined(PLATFORM_LINUX) #include #elif defined(PLATFORM_FREEBSD) #include @@ -33,7 +35,7 @@ #include "system.h" -#if defined(PLATFORM_LINUX) || defined(PLATFORM_FREEBSD) || defined(VOXWARE) +#if defined(PLATFORM_LINUX) || defined(PLATFORM_FREEBSD) || defined(VOXWARE) || defined(__CYGWIN__) #define AUDIO_STREAMING_DSP #endif @@ -75,7 +77,9 @@ #define MAX_SOUNDS_PLAYING 8 #endif -#if !defined(PLATFORM_HPUX) +#if defined(__CYGWIN__) +#define SND_BLOCKSIZE 16384 +#elif !defined(PLATFORM_HPUX) #define SND_BLOCKSIZE 4096 #else #define SND_BLOCKSIZE 32768