Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows: Made GUID type available to other OS's #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions windows/types.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package windows

type GUID struct {
Data1 uint32
Data2 uint16
Data3 uint16
Data4 [8]byte
}
7 changes: 0 additions & 7 deletions windows/types_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -1213,13 +1213,6 @@ const (
AI_NUMERICHOST = 4
)

type GUID struct {
Data1 uint32
Data2 uint16
Data3 uint16
Data4 [8]byte
}

var WSAID_CONNECTEX = GUID{
0x25a207b9,
0xddf3,
Expand Down