projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9ca6e5
)
dlerror should not use errno
author
Marko Kreen
<markokr@gmail.com>
Wed, 9 Sep 2009 18:42:21 +0000
(21:42 +0300)
committer
Marko Kreen
<markokr@gmail.com>
Wed, 9 Sep 2009 18:42:21 +0000
(21:42 +0300)
usual/base_win32.h
patch
|
blob
|
blame
|
history
diff --git
a/usual/base_win32.h
b/usual/base_win32.h
index 3a19a637ee90050a11dd8f57a7c96270b6da8ee7..db7cfeca848da9ec7e8362f0643407052d99a106 100644
(file)
--- a/
usual/base_win32.h
+++ b/
usual/base_win32.h
@@
-92,7
+92,7
@@
static inline int dlclose(void *hptr)
static inline const char *dlerror(void)
{
- return strerror(
errno
);
+ return strerror(
GetLastError()
);
}
#endif