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 » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [QUESTION]Is it possible to do internal include depending on Operating system or Flag we use/provide
Re: [QUESTION]Is it possible to do internal include depending on Operating system or Flag we use/provide [message #55636 is a reply to message #55635] Thu, 26 November 2020 14:58 Go to previous messageGo to previous message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Hello Mirek,

in 60 files, only 8 are for windows, 17 are for GLFW core and the reste is for other OS :
https://i.imgur.com/3mcR5BD.png
Top window is all my GLFW + Windows file (working)
And the bottom window is the complete source code of GLFW (including Windows, OSX, Linux)
Their is only 60 file so adding a simple #ifdef LINUX / WIN32 at top of each file should be good (like in CtrlCore). no need to have conditional internal includes here

Thanks for your help !
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Accessing documentation navigator from code
Next Topic: Help regression and possible improvements in the latest builds
Goto Forum:
  


Current Time: Wed Jun 18 23:40:19 CEST 2025

Total time taken to generate the page: 0.04629 seconds