Could this work?
Just to get some basic information about the operation system.
AString GetOperationType() { AString res = "unknown" #if defined (__WIN32__) res = "windows"; #elif defined(__linux__) res = "linux"; #elif defined(__APPLE__) res = "apple"; #endif #ifdef __arm__ res += " arm"; #endif return res; }
Just to get some basic information about the operation system.