News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Get operating system?

Started by roxlu, August 01, 2009, 11:51:05 PM

Previous topic - Next topic

roxlu

hi, how can I get the operating system?

My plugin needs to include other files for win32 then for mac; it would be awesome if there is a way to check which platform/os is used?

roxlu

Jenna

You can look into src/include/prep.h in the C::B source-tree, how C::B does this.

There are several defines that are set, depending on the platform and compiler(-version).