[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] newsie



Am Mo, 22.11.2010, 17:34 schrieb Peter Slegg:

> A lot more of it compiles but it's a bit of a rats nest of dependencies
> on it's own modules. When I include some of them, I get duplicate
> definitions.

Use include guards for .h files, like:
#ifdef THE_HEADER_FILE_H
#define THE_HEADER_FILE_H

void thefunction(int a);

#endif

> I still need to find a solution to the FILEINFO problem.

http://www.imasy.or.jp/~i16/iroiro/lc_doc.htm

it seems its build into lattice C... maybe you can grab the dos.h from
lattice c and code the needed functions.

-- 
greets,
m