Skip to content

Improve Windows compatibility of toxav code.#1209

Merged
iphydf merged 1 commit into
TokTok:masterfrom
iphydf:win-compat
Oct 8, 2018
Merged

Improve Windows compatibility of toxav code.#1209
iphydf merged 1 commit into
TokTok:masterfrom
iphydf:win-compat

Conversation

@iphydf

@iphydf iphydf commented Sep 26, 2018

Copy link
Copy Markdown
Member
  • unistd.h doesn't exist on MSVC.
  • vpx_codec_iface_t is already const, so adding const qualifiers is
    redundant and causes warnings on MSVC.

This change is Reviewable

@iphydf iphydf added this to the v0.2.x milestone Sep 26, 2018

@hugbubby hugbubby left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r1.
Reviewable status: 0 of 1 approvals obtained

- unistd.h doesn't exist on MSVC.
- `vpx_codec_iface_t` is already `const`, so adding `const` qualifiers is
  redundant and causes warnings on MSVC.
@codecov

codecov Bot commented Oct 8, 2018

Copy link
Copy Markdown

Codecov Report

Merging #1209 into master will increase coverage by <.1%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #1209     +/-   ##
========================================
+ Coverage    82.7%   82.8%   +<.1%     
========================================
  Files          82      82             
  Lines       14647   14645      -2     
========================================
+ Hits        12120   12127      +7     
+ Misses       2527    2518      -9
Impacted Files Coverage Δ
toxav/video.c 67.4% <ø> (ø) ⬆️
toxav/msi.c 66.4% <ø> (+1.3%) ⬆️
auto_tests/network_test.c 90.3% <0%> (-9.7%) ⬇️
toxcore/friend_connection.c 93.6% <0%> (-1.2%) ⬇️
toxcore/TCP_server.c 75% <0%> (-1%) ⬇️
toxcore/TCP_client.c 64.3% <0%> (-0.4%) ⬇️
toxav/toxav.c 68.1% <0%> (-0.2%) ⬇️
toxcore/Messenger.c 86.5% <0%> (ø) ⬆️
toxcore/net_crypto.c 93.6% <0%> (+0.7%) ⬆️
toxcore/network.c 83.4% <0%> (+1.2%) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 17a7bf3...3e58f3c. Read the comment docs.

@iphydf
iphydf merged commit 3e58f3c into TokTok:master Oct 8, 2018
@iphydf
iphydf deleted the win-compat branch October 8, 2018 22:37
@robinlinden robinlinden modified the milestones: v0.2.x, v0.2.9 Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants