Raised This Month: $ Target: $400
 0% 

Get "or ||" in #elseif defined something "or" something.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-10-2009 , 09:15   Re: Get "or ||" in #if defined something "or" something.
Reply With Quote #2

In a C book I found:

#if defined VAR1 && defined VAR2

I would assume you could use "logical OR" also.

Just test it. If you get an error or incorrect result then it doesn't work.
__________________
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode