mirror of
https://github.com/hufrea/byedpi.git
synced 2024-11-21 22:45:23 +03:00
Use GetLastError in uniperror
This commit is contained in:
parent
6b484d5988
commit
7ebdd9c8e1
1 changed files with 1 additions and 1 deletions
2
error.h
2
error.h
|
@ -18,7 +18,7 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
#define uniperror(str) \
|
||||
fprintf(stderr, "%s: %d\n", str, WSAGetLastError())
|
||||
fprintf(stderr, "%s: %d\n", str, GetLastError())
|
||||
#else
|
||||
#ifdef ANDROID_APP
|
||||
#define uniperror(str) \
|
||||
|
|
Loading…
Reference in a new issue