Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/14/06 04:24
Read: times


 
#109896 - defined() if supprorted
Responding to: ???'s previous message

#define A
#define B

// if either A or B is defined,
#if (defined(A) || defined(B))
// do something
#else
// do other thing
#endif

Abhishek

List of 5 messages in thread
TopicAuthorDate
C preprocess question            01/01/70 00:00      
   defined() if supprorted            01/01/70 00:00      
      in a much more complex environment            01/01/70 00:00      
         #ifdef vs #if defined()            01/01/70 00:00      
   problem solved            01/01/70 00:00      

Back to Subject List