[Scummvm-cvs-logs] CVS: scummvm/sound fmopl.cpp,1.11,1.12 midiparser.cpp,1.12,1.13 midiparser_smf.cpp,1.13,1.14 midiparser_xmidi.cpp,1.12,1.13 mixer.h,1.20,1.21

Marcus Comstedt marcus at mc.pp.se
Thu Jun 19 03:57:20 CEST 2003


Max Horn <max at quendi.de> writes:

> Am Mittwoch, 18.06.03 um 23:10 Uhr schrieb Marcus Comstedt:
> 
> > Update of /cvsroot/scummvm/scummvm/sound
> > In directory sc8-pr-cvs1:/tmp/cvs-serv1507
> >
> > Modified Files:
> > 	fmopl.cpp midiparser.cpp midiparser_smf.cpp
> > 	midiparser_xmidi.cpp mixer.h
> > Log Message:
> > Use stdafx.h instead of manually including system headers.
> >
> 
> Uhm ... why ?

Several of these files included <memory.h>, which is not a standard
header file and certainly does not exist in my Dreamcast build
environment.  (<memory.h> was apparently included to get memset, which
is defined in <string.h> in my environment.)  So I looked around a bit
to see what other files that needed memset did, and it seemed like
everywhere "stdafx.h" was included instead of any system headers.  So
it seemed the right thing to do to make it like this here too, all in
the name of consistency.  I did leave the include of <math.h> since it
is not included by stdafx.h.

(Btw, can someone tell me what the name "stdafx" stands for?  I can't
 make any sense of the letters...)


  // Marcus






More information about the Scummvm-git-logs mailing list