Commit 8a7792ebe8ca052767c502efe755148e339fcae4
1 parent
3be44a48
Exists in
master
and in
3 other branches
Fixing windows package.
Showing
2 changed files
with
8 additions
and
6 deletions
Show diff stats
src/core/windows/util.c
src/include/windows/lib3270/os.h
| ... | ... | @@ -41,11 +41,6 @@ |
| 41 | 41 | #include <winsock2.h> |
| 42 | 42 | #include <windows.h> |
| 43 | 43 | |
| 44 | - inline void lib3270_autoptr_cleanup_HKEY(HKEY *hKey) { | |
| 45 | - if(*hKey) { | |
| 46 | - RegCloseKey(*hKey); | |
| 47 | - *hKey = 0; | |
| 48 | - } | |
| 49 | - } | |
| 44 | + LIB3270_EXPORT void lib3270_autoptr_cleanup_HKEY(HKEY *hKey); | |
| 50 | 45 | |
| 51 | 46 | #endif // LIB3270_OS_H_INCLUDED | ... | ... |