How to prevent Error: L6200E: Symbol multiply defined?

Hi guys,

I'm receiving the Error: 'L6200E: Symbol multiply defined'.

I understand one workaround is to include externs, however this is unideal. With most compilers/linkers something such as:

#ifndef bla
#define bla

// Content

#endif

Would prevent double inclusion, however it doesn't appear to work with Keil.

Any ideas on a similar solution?

Many thanks

More questions in this forum