Qt宏判断操作系统

1

#ifdef Q_OS_WIN
    const char * const eol = "\r\n";
#else
    const char *eol = "\n";
#endif





你可能感兴趣的:(Qt宏判断操作系统)