Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(rvv): add macro protection and system headers for cross-platform compatibility#4085

Merged
wangzhaode merged 1 commit intoalibaba:masterfrom
ihb2032:fix/rvv-macro-and-headers
Dec 30, 2025
Merged

fix(rvv): add macro protection and system headers for cross-platform compatibility#4085
wangzhaode merged 1 commit intoalibaba:masterfrom
ihb2032:fix/rvv-macro-and-headers

Conversation

@ihb2032
Copy link
Contributor

@ihb2032 ihb2032 commented Dec 27, 2025

Changes

  • Added #ifndef MNN_USE_RVV protection in ImageProcessFunction.cpp.
  • Included <sys/types.h> in RVV function files for Linux and QNX platforms.

Verification

  • Successfully verified the build on SG2044.

…compatibility

- Added #ifndef MNN_USE_RVV protection in ImageProcessFunction.cpp.
- Included <sys/types.h> in RVV function files for Linux and QNX platforms.
- This fixes potential redefinition issues and missing type definitions during compilation.

Signed-off-by: ihb2032 <[email protected]
Co-authored-by: lyd1992 <[email protected]>
@wangzhaode wangzhaode self-assigned this Dec 30, 2025
@wangzhaode wangzhaode merged commit 6375755 into alibaba:master Dec 30, 2025
6 checks passed
@ihb2032 ihb2032 deleted the fix/rvv-macro-and-headers branch December 30, 2025 03:32
wangzhaode added a commit that referenced this pull request Dec 30, 2025
fix(rvv): add macro protection and system headers for cross-platform compatibility

GitOrigin-RevId: 2bacf212fcfae15c87da4cdec36c75fba1e2a746
wangzhaode added a commit that referenced this pull request Dec 30, 2025
fix(rvv): add macro protection and system headers for cross-platform compatibility

GitOrigin-RevId: 22d3216a0527a10610ac76c0ee87e5e9227ee26a
wangzhaode added a commit that referenced this pull request Jan 7, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility

GitOrigin-RevId: 456325d3ebd48e4245c740b7faf8e88e98d7b9d3
wangzhaode added a commit that referenced this pull request Jan 8, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility

GitOrigin-RevId: 207facfa46541c49cb7ca94c632bb0557224d10f
Juude pushed a commit to Juude/MNN that referenced this pull request Jan 14, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility

GitOrigin-RevId: 456325d3ebd48e4245c740b7faf8e88e98d7b9d3
Juude pushed a commit to Juude/MNN that referenced this pull request Jan 14, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility

GitOrigin-RevId: 207facfa46541c49cb7ca94c632bb0557224d10f
wangzhaode added a commit that referenced this pull request Jan 21, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility

GitOrigin-RevId: 0c2feb28644f1e9870aeb350edea31a230d9ddfa
wangzhaode added a commit that referenced this pull request Jan 21, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility

GitOrigin-RevId: 9af2286f81b9c9d4ff8cdbac91540055d82477ed
ORIGINAL_AUTHOR=MNNSyncBot <[email protected]>
Yogayu pushed a commit to Yogayu/MNN that referenced this pull request Feb 11, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility

GitOrigin-RevId: 2bacf212fcfae15c87da4cdec36c75fba1e2a746
Yogayu pushed a commit to Yogayu/MNN that referenced this pull request Feb 11, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility

GitOrigin-RevId: 22d3216a0527a10610ac76c0ee87e5e9227ee26a
Yogayu pushed a commit to Yogayu/MNN that referenced this pull request Feb 11, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility

GitOrigin-RevId: 456325d3ebd48e4245c740b7faf8e88e98d7b9d3
Yogayu pushed a commit to Yogayu/MNN that referenced this pull request Feb 11, 2026
fix(rvv): add macro protection and system headers for cross-platform compatibility

GitOrigin-RevId: 207facfa46541c49cb7ca94c632bb0557224d10f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants