mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-13 10:02:46 +08:00
Use C11
This commit is contained in:
parent
17bd90f09b
commit
e8a22c13f2
@ -7,7 +7,7 @@
|
||||
! Contributors : Nul None <nul@none.org>
|
||||
! |
|
||||
! Created On : <2023-12-28>
|
||||
! Last Modified : <2025-06-16>
|
||||
! Last Modified : <2025-06-18>
|
||||
! ---------------------------------------------------------- -->
|
||||
|
||||
<div align="center">
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
全平台通用换源工具与框架 `chsrc`,**目标支持 Linux, Windows (MSYS2, Cygwin), macOS, BSD 等尽可能多的操作系统环境,龙芯、飞腾、RISC-V 等尽可能多的 CPU**。
|
||||
|
||||
我们使用 **C99** 来完成上述目标。我们并不使用 Python 或 JS 等解释语言,因为一个简单的换源工具,不应该强行塞给用户一个庞大的解释器和数十、数百 MB 其他文件。
|
||||
我们使用 **C11** 来完成上述目标。我们并不使用 Python 或 JS 等解释语言,因为一个简单的换源工具,不应该强行塞给用户一个庞大的解释器和数十、数百 MB 其他文件。
|
||||
|
||||
本软件为**自由软件**,SDPX 软件许可证为 `GPL-3.0-or-later and MIT`
|
||||
|
||||
|
@ -29,13 +29,13 @@
|
||||
* | Mikachu2333 <mikachu.23333@zohomail.com>
|
||||
* |
|
||||
* Created On : <2023-08-28>
|
||||
* Last Modified : <2025-06-17>
|
||||
* Last Modified : <2025-06-18>
|
||||
*
|
||||
* chsrc: Change Source —— 全平台通用命令行换源工具
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
#define Chsrc_Version "0.2.1.2-dev1"
|
||||
#define Chsrc_Release_Date "2025/06/16"
|
||||
#define Chsrc_Version "0.2.1.2-dev2"
|
||||
#define Chsrc_Release_Date "2025/06/18"
|
||||
#define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc"
|
||||
#define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc"
|
||||
|
||||
|
@ -9,11 +9,19 @@
|
||||
* | Yangmoooo <yangmoooo@outlook.com>
|
||||
* |
|
||||
* Created On : <2023-08-29>
|
||||
* Last Modified : <2025-03-06>
|
||||
* Last Modified : <2025-06-18>
|
||||
*
|
||||
* chsrc framework
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
#if defined(__STDC__) && __STDC_VERSION__ < 201112L
|
||||
# error "chsrc requires C11 or later, please use a new compiler which at least supports C11"
|
||||
#endif
|
||||
|
||||
#if defined(__STDC__) && __STDC_VERSION__ < 201710L
|
||||
# warning "chsrc recommends a C17 or later compiler"
|
||||
#endif
|
||||
|
||||
#include "xy.h"
|
||||
#include "struct.h"
|
||||
#include "mirror.c"
|
||||
|
Loading…
x
Reference in New Issue
Block a user