winpr: fix compilation error on Windows.
This commit is contained in:
parent
d5930f8d99
commit
5d6ff1536c
@ -208,6 +208,9 @@ typedef struct _SECURITY_ATTRIBUTES
|
||||
BOOL bInheritHandle;
|
||||
} SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
|
||||
|
||||
typedef void* HMODULE;
|
||||
typedef void* FARPROC;
|
||||
|
||||
#endif
|
||||
|
||||
typedef BYTE byte;
|
||||
@ -223,7 +226,4 @@ typedef LONG NTSTATUS;
|
||||
typedef NTSTATUS *PNTSTATUS;
|
||||
#endif
|
||||
|
||||
typedef void* HMODULE;
|
||||
typedef void* FARPROC;
|
||||
|
||||
#endif /* WINPR_WTYPES_H */
|
||||
|
@ -38,10 +38,10 @@ if(WIN32)
|
||||
target_link_libraries(freerdp-crypto ws2_32)
|
||||
else()
|
||||
target_link_libraries(freerdp-crypto ${ZLIB_LIBRARIES})
|
||||
target_link_libraries(freerdp-crypto winpr-library)
|
||||
endif()
|
||||
|
||||
target_link_libraries(freerdp-crypto winpr-sspi)
|
||||
target_link_libraries(freerdp-crypto winpr-library)
|
||||
target_link_libraries(freerdp-crypto freerdp-utils)
|
||||
target_link_libraries(freerdp-crypto ${OPENSSL_LIBRARIES})
|
||||
|
||||
|
@ -62,10 +62,10 @@ set_target_properties(winpr-sspi PROPERTIES VERSION ${FREERDP_VERSION_FULL} SOVE
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(winpr-sspi winpr-crt)
|
||||
target_link_libraries(winpr-sspi winpr-sysinfo)
|
||||
target_link_libraries(winpr-sspi winpr-registry)
|
||||
endif()
|
||||
|
||||
target_link_libraries(winpr-sspi winpr-utils)
|
||||
target_link_libraries(winpr-sspi winpr-registry)
|
||||
target_link_libraries(winpr-sspi ${ZLIB_LIBRARIES})
|
||||
target_link_libraries(winpr-sspi ${OPENSSL_LIBRARIES})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user