mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-26 00:03:54 +00:00
Fix imports to be case sensitive correct
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// +build windows
|
||||
package sys_windows
|
||||
|
||||
foreign import "system:Ole32.lib"
|
||||
|
||||
@@ -6,9 +6,9 @@ c_char :: c.char
|
||||
c_uchar :: c.uchar
|
||||
c_int :: c.int
|
||||
c_uint :: c.uint
|
||||
c_long :: c.long
|
||||
c_long :: i32
|
||||
c_longlong :: c.longlong
|
||||
c_ulong :: c.ulong
|
||||
c_ulong :: u32
|
||||
c_ulonglong :: c.ulonglong
|
||||
c_short :: c.short
|
||||
c_ushort :: c.ushort
|
||||
@@ -2719,16 +2719,17 @@ SECURITY_MAX_SID_SIZE :: 68
|
||||
|
||||
// https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-sid
|
||||
SID :: struct #packed {
|
||||
Revision: byte,
|
||||
SubAuthorityCount: byte,
|
||||
Revision: byte,
|
||||
SubAuthorityCount: byte,
|
||||
IdentifierAuthority: SID_IDENTIFIER_AUTHORITY,
|
||||
SubAuthority: [15]DWORD, // Array of DWORDs
|
||||
SubAuthority: [15]DWORD, // Array of DWORDs
|
||||
}
|
||||
#assert(size_of(SID) == SECURITY_MAX_SID_SIZE)
|
||||
|
||||
SID_IDENTIFIER_AUTHORITY :: struct #packed {
|
||||
Value: [6]u8,
|
||||
}
|
||||
#assert(size_of(SID_IDENTIFIER_AUTHORITY) == 6)
|
||||
|
||||
// For NetAPI32
|
||||
// https://github.com/tpn/winsdk-10/blob/master/Include/10.0.14393.0/shared/lmerr.h
|
||||
|
||||
2
vendor/glfw/native_darwin.odin
vendored
2
vendor/glfw/native_darwin.odin
vendored
@@ -2,7 +2,7 @@
|
||||
|
||||
package glfw
|
||||
|
||||
import NS "vendor:darwin/foundation"
|
||||
import NS "vendor:darwin/Foundation"
|
||||
|
||||
when GLFW_SHARED {
|
||||
#panic("Dynamic linking for glfw is not supported for darwin yet")
|
||||
|
||||
Reference in New Issue
Block a user