Quote:
Originally Posted by Popoklopsi
good idea, i will add this
|
PHP Code:
enum Os {
Os_Linux = 1,
Os_Windows,
Os_Mac
}
cell_t Native_GetOS(IPluginContext *pContext, const cell_t *params)
{
#ifdef __linux__
return Os_Linux;
#elif defined _WIN32
return Os_Windows;
#elif defined __APPLE__
return Os_Mac;
#endif
}