Supermacros
#4

I found a way around it, but really is kinda poor one.

Код:
#if defined _INC_MACRO
    #endinput
#endif

#if !defined _INC_MACRO
printf();
#endif

#define _INC_MACRO
Wrapping the code within an #if statement it seems to work no matter how many times you include it. I don't know if you'll use it or will still to try and find a better solution.
Reply


Messages In This Thread
Supermacros - by Misiur - 24.08.2017, 01:37
Re: Supermacros - by azzerking - 24.08.2017, 01:54
Re: Supermacros - by Misiur - 24.08.2017, 01:59
Re: Supermacros - by azzerking - 24.08.2017, 02:28
Re: Supermacros - by Paulice - 24.08.2017, 02:37
Re: Supermacros - by azzerking - 24.08.2017, 02:44
Re: Supermacros - by Misiur - 24.08.2017, 02:49
Re: Supermacros - by azzerking - 24.08.2017, 02:56

Forum Jump:


Users browsing this thread: 1 Guest(s)