Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Synchronet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
139
Issues
139
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
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
Main
Synchronet
Commits
afeb58c2
Commit
afeb58c2
authored
Nov 20, 2020
by
Deuce
👌🏾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
It's _MSC_VER, not _MSVC_VER.
Sorry guys. :(
parent
8d2a0cfc
Pipeline
#731
passed with stage
in 21 minutes and 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/xpdev/sockwrap.c
src/xpdev/sockwrap.c
+1
-1
src/xpdev/sockwrap.h
src/xpdev/sockwrap.h
+1
-1
No files found.
src/xpdev/sockwrap.c
View file @
afeb58c2
...
...
@@ -524,7 +524,7 @@ DLLEXPORT char* socket_strerror(int error_number, char* buf, size_t buflen)
#endif
}
#if defined(_WIN32) && !defined(_MS
V
C_VER)
#if defined(_WIN32) && !defined(_MSC_VER)
DLLEXPORT
int
inet_pton
(
int
af
,
const
char
*
src
,
void
*
dst
)
{
struct
addrinfo
hints
=
{
0
};
...
...
src/xpdev/sockwrap.h
View file @
afeb58c2
...
...
@@ -241,7 +241,7 @@ DLLEXPORT void inet_setaddrport(union xp_sockaddr *addr, uint16_t port);
DLLEXPORT
BOOL
inet_addrmatch
(
union
xp_sockaddr
*
addr1
,
union
xp_sockaddr
*
addr2
);
DLLEXPORT
char
*
socket_strerror
(
int
,
char
*
,
size_t
);
#if defined(_WIN32) && !defined(_MS
V
C_VER)
#if defined(_WIN32) && !defined(_MSC_VER)
DLLEXPORT
int
inet_pton
(
int
af
,
const
char
*
src
,
void
*
dst
);
#endif
...
...
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