Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add sys_time_h package #2956

Merged
merged 4 commits into from
Dec 18, 2023
Merged

add sys_time_h package #2956

merged 4 commits into from
Dec 18, 2023

Conversation

heheda123123
Copy link
Contributor

No description provided.

@heheda123123
Copy link
Contributor Author

没问题可以合并了

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


No problem, we can merge

#include <sys/time.h>

void test() {
struct timeval tv;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

用 has_cfuncs 或者里面加上 function 调用,检测 link 是否通过。。

尽管它是 headeronly 的,但是最终还是要走 link 的,也能提早发现一些系统库 links 是否缺失

@waruqi waruqi merged commit 5cc3cba into xmake-io:dev Dec 18, 2023
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.

3 participants