User forums > Using Code::Blocks
[solved] preprocessor not working (#ifdef WIN32)
rcoll:
Apparantely the MSVC9 IDE (not the compiler) is defining WIN32, and probably a whole lot more
defines that you don't see.
Go into the compiler setup, and uder "DEFINES" add in WIN32 and see if that helps.
Ringo
blah_HP:
It worked, thanks Ringo. Problem solved :)
Im amazed at the fact theres not much info regarding this issue around, ive searched everywhere, sounds like im the only one using MS compiler with C:B!
MortenMacFly:
--- Quote from: blah_HP on December 03, 2008, 05:37:42 pm ---sounds like im the only one using MS compiler with C:B!
--- End quote ---
I can assure you: No. ;-)
Navigation
[0] Message Index
[*] Previous page
Go to full version