Skip to content

Commit

Permalink
windows: Made GUID type available to other OS's
Browse files Browse the repository at this point in the history
  • Loading branch information
dcormier committed Jan 9, 2020
1 parent 548cf77 commit d2e960b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
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

0 comments on commit d2e960b

Please sign in to comment.