On Wednesday 25 January 2006 20:39, Anthony Kozar wrote: > Thanks to Istvan for checking in my changes before I could get to it :) > > I updated the ChangeLog as well, and I put the sysdep.h changes for > including stdint.h back to the way I had them. I think that it may be > necessary to do the USE_GUSI2 check first (before HAVE_STDINT_H) because > when I am compiling the Python material for Csound, there are two stdint.h > files that get included in my system. One is from the compiler and the > other is from the GUSI package that Python requires. > > The #ifdefs I put in sysdep.h are so that only the GUSI one gets included > when compiling Python opcodes and interface. But when I compile CsoundLib > it needs to be the other way. So please leave this alone for now. Thanks. How about these ? @@ -109,16 +109,19 @@ #endif #if defined(macintosh) # define mac_classic /* All Mac Compiles Before OSX, including Carbon */ + /* define mills_macintosh in your prefix file + to compile the Mills "Perf" version */ # ifndef USE_GUSI2 # include # endif # define O_NDELAY (0) # define DIRSEP ':' #elif defined(SYMANTEC) # include /* for open() etc protos on mac */ # define DIRSEP ':' + extern off_t lseek(int, off_t, int); #else Was not mills_macintosh removed earlier ? Also, where is lseek() used ? The only place I seem to find it is in Engine/envvar.c but there is already an lseek() declaration there for SYMANTEC; I do not really like the idea of declaring system functions instead of using the appropriate header, and prefer minimizing the use of such declarations. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net