Archived Forum Post

Index of archived forum posts

Question:

Which include files to use

Feb 08 '13 at 08:05

One of the developers noted that the include files for linux are not the same as those for the Windows build. Do we really have to have an include directory for each platform we build for or can one of your include trees be used with all of the builds? (And if the latter, which tree should we be using?)


Answer

Some include files for Windows-only classes would be missing on non-Windows systems. This is OK. If a Windows-only include (.h) was on a Linux system, it would make no difference because your programs on Linux shouldn't be including it anyway. You may use the Windows set of include files for all systems, as long as it's exactly the same version.