Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
489c8e1c
Commit
489c8e1c
authored
Aug 10, 2014
by
Philip Withnall
Committed by
Olivier Crête
Aug 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stun: Fix definition of ssize_t on Windows
ssize_t should definitely be signed, not unsigned.
parent
3c764a5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
stun/win32_common.h
stun/win32_common.h
+12
-2
No files found.
stun/win32_common.h
View file @
489c8e1c
...
...
@@ -70,12 +70,22 @@ typedef unsigned uint32_t;
typedef
long
long
int64_t
;
typedef
unsigned
long
long
uint64_t
;
/* Using the [S]SIZE_T definitions from:
* http://msdn.microsoft.com/en-gb/library/windows/desktop/aa383751%28v=vs.85%29.aspx#SSIZE_T */
#ifndef HAVE_SIZE_T
typedef
unsigned
int
size_t
;
#if defined(_WIN64)
typedef
unsigned
__int64
size_t
;
#else
typedef
unsigned
long
size_t
;
#endif
#endif
/* !HAVE_SSIZE_T */
#ifndef HAVE_SSIZE_T
typedef
unsigned
long
ssize_t
;
#if defined(_WIN64)
typedef
signed
__int64
ssize_t
;
#else
typedef
signed
long
ssize_t
;
#endif
#endif
/* !HAVE_SSIZE_T */
typedef
uint8_t
bool
;
#define true 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment