sahlberg / libsmb2

SMB2/3 userspace client
Other
310 stars 126 forks source link

Add smb2_ in some private smb2 functions and _SOCKET for portability #329

Closed Wolf3s closed 2 months ago

Wolf3s commented 3 months ago

This pr is based on @cy33hc nintendo´s switch branch, since devkitpro and possibly other´s sdk´s has similar functions.

cy33hc commented 2 months ago

@Wolf3s Yeah, it's conflicts with libnx switch/runtime/util/utf.h

Wolf3s commented 2 months ago

@Wolf3s Yeah, it's conflicts with libnx switch/runtime/util/utf.h

Also for nintendo 3ds conflicts as well.

Wolf3s commented 2 months ago

Update: Added SMB2_INVALID_SOCKET and SMB2_VALID_SOCKET for make compling for devkitpro´s libogc.