[Scummvm-cvs-logs] CVS: scummvm/sound gmidi.cpp,1.7,1.8

Mutwin Kraus mutle at users.sourceforge.net
Thu Mar 14 05:29:02 CET 2002


Update of /cvsroot/scummvm/scummvm/sound
In directory usw-pr-cvs1:/tmp/cvs-serv6402/scummvm/sound

Modified Files:
	gmidi.cpp 
Log Message:
should be "#if !defined", instead of "#if !define" :)

Index: gmidi.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/gmidi.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** gmidi.cpp	14 Mar 2002 12:14:22 -0000	1.7
--- gmidi.cpp	14 Mar 2002 13:28:32 -0000	1.8
***************
*** 114,118 ****
  int MidiDriver::open_sequencer_device() {
  	int device = 0;
! #if !define(__APPLE__CW)		// No getenv support on Apple Carbon
  	char *device_name = getenv("SCUMMVM_MIDI");
  	if (device_name != NULL) {
--- 114,118 ----
  int MidiDriver::open_sequencer_device() {
  	int device = 0;
! #if !defined(__APPLE__CW)		// No getenv support on Apple Carbon
  	char *device_name = getenv("SCUMMVM_MIDI");
  	if (device_name != NULL) {
***************
*** 137,141 ****
  int MidiDriver::connect_to_timidity(int port) {
  	int s = 0;
! #if !define(__APPLE__CW)		// No socket support on Apple Carbon
  	struct hostent *serverhost;
  	struct sockaddr_in sadd;	
--- 137,141 ----
  int MidiDriver::connect_to_timidity(int port) {
  	int s = 0;
! #if !defined(__APPLE__CW)		// No socket support on Apple Carbon
  	struct hostent *serverhost;
  	struct sockaddr_in sadd;	





More information about the Scummvm-git-logs mailing list