View Single Post
Old 03-06-2017, 03:21 PM   #1
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 9,285
Default platform specific code (SOLVED)

If I want to put some code in myPlugin.cpp that only should compile for the Windows version but ignored on Mac is this the correct way ?

Code:
#ifdef __WINDOWS__
put code here
#endif // __WINDOWS__

Last edited by nofish; 03-07-2017 at 06:53 AM.
nofish is online now   Reply With Quote