|
From: John M M. <jo...@us...> - 2002-06-01 05:23:05
|
Update of /cvsroot/squeak/squeak/platforms/Cross/plugins/Mpeg3Plugin/libmpeg
In directory usw-pr-cvs1:/tmp/cvs-serv31449/squeak/platforms/Cross/plugins/Mpeg3Plugin/libmpeg
Modified Files:
changesForSqueak.c
Log Message:
1.4 Added misc changes required to get it to compile with latest source (3.2.7) code.
Index: changesForSqueak.c
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/changesForSqueak.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** changesForSqueak.c 5 May 2002 11:58:47 -0000 1.4
--- changesForSqueak.c 1 Jun 2002 05:23:00 -0000 1.5
***************
*** 32,35 ****
--- 32,36 ----
// Nov 2nd, 2000 JMM changed memoryAllocate, use calloc
// Sept 7nd, 2001 JMM added carbon logic
+ // May 31st, 2002 JMM a few additions to make it compile on the mac with latest code
#include <string.h>
***************
*** 40,43 ****
--- 41,45 ----
#include <Memory.h>
#include <QuickDraw.h>
+ #include "sq.h"
#endif
***************
*** 142,145 ****
--- 144,154 ----
#endif
+
+ #if defined(TARGET_OS_MAC) && defined ( __APPLE__ ) && defined ( __MACH__ )
+ int isSystem9_0_or_better(void)
+ {
+ return 1;
+ }
+ #endif
void appendStringToBufferIfPossible(char *buffer,char *append,int bufferSize)
|