Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: roxlu on August 01, 2009, 11:51:05 pm
-
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
-
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).