Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Prev Previous Post   Next Post Next
Old 03-06-2017, 03:21 PM   #1
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 ?

#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

Thread Tools
Display Modes

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 -7. The time now is 10:55 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.