[Python-checkins] CVS: python/dist/src/Mac/Modules macspeechmodule.c,1.11,1.12

Jack Jansen jackjansen@users.sourceforge.net
Tue, 07 Aug 2001 08:30:04 -0700


Update of /cvsroot/python/python/dist/src/Mac/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv15301/python/Mac/Modules

Modified Files:
	macspeechmodule.c 
Log Message:
Got rid of 68k-Mac and other outdated ifdefs.

Index: macspeechmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/macspeechmodule.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** macspeechmodule.c	2000/07/11 21:15:50	1.11
--- macspeechmodule.c	2001/08/07 15:30:01	1.12
***************
*** 43,50 ****
  #endif /* __MWERKS__ */
  
- #ifdef __powerc
  #include <CodeFragments.h>
  int lib_available;
- #endif /* __powerc */
  
  /* Somehow the Apple Fix2X and X2Fix don't do what I expect */
--- 43,48 ----
***************
*** 61,67 ****
  	long result;
  
- #ifdef __powerc
  	lib_available = ((ProcPtr)SpeakString != (ProcPtr)0);
- #endif
  	err = Gestalt(gestaltSpeechAttr, &result);
  	if ( err == noErr && (result & (1<<gestaltSpeechMgrPresent)))
--- 59,63 ----
***************
*** 76,85 ****
  		return 0;
  	}
- #ifdef __powerc
  	if ( !lib_available ) {
  		PyErr_SetString(ms_error_object, "Speech Mgr available, but shared lib missing");
  		return 0;
  	}
- #endif
  	return 1;
  }
--- 72,79 ----