in reply to Re^3: (OT) How can I do unless(caller) { main; } in C using GCC in Windows?
in thread (OT) How can I do unless(caller) { main; } in C using GCC in Windows?

I found a solution that works in Windows and Unix, using simple preprocessor instructions.

http://stackoverflow.com/a/12397886/350106

  • Comment on Re^4: (OT) How can I do unless(caller) { main; } in C using GCC in Windows?

Replies are listed 'Best First'.
Re^5: (OT) How can I do unless(caller) { main; } in C using GCC in Windows?
by Anonymous Monk on Sep 13, 2012 at 03:20 UTC
    :p you didn't know about that? I thought you wanted to exploit the compilers built-in mechanisms