Jump to content
  • 0
Sign in to follow this  
OnlyRipper

open Question Regarding Syntax

Question

-----------------------------------
Picture with error:
https://imgur.com/nplmQ4i
-----------------------------------
Picture without error:
https://imgur.com/dk2Z7tJ
-----------------------------------

Can someone please explain me why that 

#ifdef isn't working like a normal if ?

Why just changing their position leads to a succesful compile proccess...I just can't figure it out

 

I've also aligned the #ifded & #endif under the pktab-> and it's still the same error.

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

Your macro (#ifdef name) is not defined or is defined in a file that is not included in the curent file.

Advice: do it like this: ); not in macro, or just include the define file ("service.h", I think)

screenshot-13.png

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.