#include #include namespace rack { const std::string APP_NAME = "VCV Rack"; const std::string APP_VERSION = TOSTRING(VERSION); #if defined ARCH_WIN const std::string APP_ARCH = "win"; #elif ARCH_MAC const std::string APP_ARCH = "mac"; #elif defined ARCH_LIN const std::string APP_ARCH = "lin"; #endif const std::string ABI_VERSION = "2"; const std::string API_URL = "https://api.vcvrack.com"; const std::string API_VERSION = "2"; } // namespace rack #if defined ARCH_WIN #include FILE* fopen_u8(const char* filename, const char* mode) { return _wfopen(rack::string::U8toU16(filename).c_str(), rack::string::U8toU16(mode).c_str()); } #endif