Skip to content

Commit c1c001c

Browse files
committed
增加__STDC_FORMAT_MACROS宏定义
Signed-off-by: latercomer <[email protected]>
1 parent e575772 commit c1c001c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-action-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-22.04
4141

4242
steps:
43-
- name: Checkout Current Repo
43+
- name: Checkout Repo Code
4444
uses: actions/checkout@v4
4545
with:
4646
submodules: "recursive"
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
python-version: "3.11"
5252

53-
- name: Setup Compile System
53+
- name: Setup Build Tools
5454
shell: bash
5555
run: |
5656
sudo apt-get update -y
@@ -61,7 +61,7 @@ jobs:
6161
# sudo apt-get install libncurses5 libncurses5-dev libncursesw5-dev -y
6262
python3 -m pip install -r tools/install/requirements_v3.txt
6363
64-
- name: Display Toolchain Info
64+
- name: Display Tools Version
6565
shell: bash
6666
run: |
6767
echo "python: $(python3 -V), $(which python3)"

pkgs/SConscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ objs = []
1010
inc = [cwd, cwd + "/include", cwd + "/lib"]
1111
src = []
1212

13-
objs += DefineGroup(name="pkg/include", src=[], depend=[], CPPPATH=inc)
13+
objs += DefineGroup(name="pkg/include", src=[], depend=[], CPPPATH=inc, CPPDEFINES=['__STDC_FORMAT_MACROS'])
1414

1515
for d in os.listdir(cwd):
1616
path = os.path.join(cwd, d)

0 commit comments

Comments
 (0)