[hatari-devel] 68030 Debug mode and new CPU

Eero Tamminen oak at helsinkinet.fi
Tue Feb 22 22:45:51 CET 2011


Hi,

On tiistai 22 helmikuu 2011, Laurent Sallafranque wrote:
> Because cpummu.h needs to include "main.h", should I include it only
> there and make an exception to the rule ?
> 
> I've tried to include "main.h" only in xxx_files.c, but it's needed in
> cpummu.h

This means that you need to include "main.h" before "cpummu.h".


> I'm waiting your advice before committing.

But several other include files already include main.h, so I guess it's
OK to include in other headers too:
$ grep main.h */*.h
includes/control.h:#include "main.h"
includes/ioMem.h:# include "main.h"
includes/main.h:  Hatari - main.h
includes/statusbar.h:#include "main.h"
includes/stMemory.h:#include "main.h"


	- Eero



More information about the hatari-devel mailing list