linux - c++ preprocessor location code::blocks? -
i have imported project windows linux in code::blocks using import function
now have problem following code
#ifdef win32 # ifdef a_exports # define a_spec __declspec(dllexport) # else # define a_spec __declspec(dllimport) # endif #else # define a_spec #endif
even on linux variable win32 seems set somewhere in code::blocks project, can't find it. idea find these c/c++ preprocessor variables
thanks, mike
outside of code itself, project defines exist in
project -> build options... -> compiler settings -> #defines
note tree on left there separate settings project whole , individual build targets.
Comments
Post a Comment