[Question] including multiple files with same name
#7

Try:

#include <../file>
#undef _inc_
#include <../file>

// NVM didnt read your comment as I wrote this 5 mins ago.

Well I think the easiest way is renaming. There shouldn't be a problem with this right?
It's definitely possible to include both files somehow, but isn't that more complicated and unnecessary?

Also, make sure that both includes don't use the same define preventing it from being double included (apart from the internal one, like most includes have something like "#define ZCMD_INCLUDED")
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)