Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int
- #ifdef HAVE_FEATURE
- thing(int args)
- #else
- other_thing(int args)
- #endif
- {
- do_things();
- #ifdef HAVE_FEATURE
- do_feature_things();
- #else
- do_workaround_things();
- #endif
- do_more_things();
- return whatever;
- }
- int main() {
- #ifdef HAVE_FEATURE
- thing(7);
- #else
- other_thing(7);
- #endif
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement