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 » Cannot compile plugin/ftp
Re: Cannot compile plugin/ftp [message #51400 is a reply to message #51399] Thu, 21 March 2019 21:42 Go to previous message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello and thanks for investigation,

I found very interesting wiki page that shows what macros are available on each *nix operating system - http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_c ompiler_predefined_macros_detect_operating_system. As expected __unix__ is not defined on macOS. By default there is __APPLE__ or __MACH__ defined. I think for that special case (library code) we should use __APPLE__ macro instead of using pre-defined upp macros.

I created ticket for that - https://www.ultimatepp.org/redmine/issues/1945. I hope Mirek will accept the fix with additional ifdef. The library is no longer maintenance by their authors, so we need to patch it by our-self.

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Thu, 21 March 2019 21:43]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: Conditional compiling
Next Topic: Can I compile without X11? (Mojave)
Goto Forum:
  


Current Time: Sun May 12 19:36:17 CEST 2024

Total time taken to generate the page: 0.02613 seconds