Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » Conditional compiling
Conditional compiling [message #51364] Fri, 15 March 2019 21:06 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

my program run under Windows and Linux. The source code is the same but there are part of the code that works only in windows.
So far I used

#ifdef PLATFORM_WIN32
// windows code
#else
// linux code
#endif

to choose what to compile. In future I need to compile different the code depending of Windows, Linux and MacOS.

I wonder which def flag will permit me to separate the Linux stuff from the MacOS one.

Thanks a lot,
Luigi
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with macOs compiling in Linux
Next Topic: Cannot compile plugin/ftp
Goto Forum:
  


Current Time: Wed May 01 20:41:08 CEST 2024

Total time taken to generate the page: 0.03950 seconds