diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-09-26 00:36:59 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-10-08 22:22:58 +0000 |
commit | 3e58f3cd4d8d1d6209f5d64419d37cc213f4d4c3 (patch) | |
tree | 60065469ca637300d40eeaad47ce855aea6f639d /toxav/msi.c | |
parent | 17a7bf3fd25d5b862b02267843fa2d37ed387d43 (diff) |
Improve Windows compatibility of toxav code.
- 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.
Diffstat (limited to 'toxav/msi.c')
-rw-r--r-- | toxav/msi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/toxav/msi.c b/toxav/msi.c index 244225fa..f82b91ba 100644 --- a/toxav/msi.c +++ b/toxav/msi.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <stdbool.h> | 30 | #include <stdbool.h> |
31 | #include <stdlib.h> | 31 | #include <stdlib.h> |
32 | #include <string.h> | 32 | #include <string.h> |
33 | #include <unistd.h> | ||
34 | 33 | ||
35 | #define MSI_MAXMSG_SIZE 256 | 34 | #define MSI_MAXMSG_SIZE 256 |
36 | 35 | ||