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

最小化兼容处理 #6

Merged
merged 1 commit into from
Dec 20, 2012
Merged

最小化兼容处理 #6

merged 1 commit into from
Dec 20, 2012

Conversation

cofyc
Copy link
Contributor

@cofyc cofyc commented Dec 20, 2012

_POSIX_TIMERS & _POSIX_THREAD_CPUTIME 在 unistd.h 头文件定义,但并未包含。之前写法不正确,可以工作只是巧合。
现改为,默认使用 clock_gettime,当为 Max OSX 平台时,使用兼容方法。

头文件定义,但并未包含。之前写法不正确,可以工作只是巧合。
现改为,默认使用 clock_gettime,当为 Max OSX 平台时,使用兼容方法。
cloudwu added a commit that referenced this pull request Dec 20, 2012
最小化兼容处理
@cloudwu cloudwu merged commit 6bea883 into cloudwu:master Dec 20, 2012
@cofyc cofyc deleted the macosx branch December 20, 2012 09:55
@flashjay flashjay mentioned this pull request Apr 26, 2014
@flashjay flashjay mentioned this pull request Jun 25, 2015
@xzzwandi xzzwandi mentioned this pull request Apr 10, 2018
@chengdd1987 chengdd1987 mentioned this pull request May 2, 2018
@DeanHH DeanHH mentioned this pull request Aug 23, 2018
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.

None yet

2 participants