Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Get operating system?
(1/1)
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).
Navigation
[0] Message Index
Go to full version