24.07.2013, 08:27
Quote:
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") |
And since I wrote those files, I can assure you that those kind of definitions are not there.
Well according to the pawn-lang.pdf, which is provided by CompuPhase, it is possible but for some reason it doesn't work.
EDIT: It might be my fault, although I checked if its even defined before undefining it, and to make sure I even used #error directive to check if its defined.