| ... | ... | @@ -28,7 +28,7 @@ const POINT = windows.POINT; |
| 28 | 28 | const HCURSOR = windows.HCURSOR; |
| 29 | 29 | const HBRUSH = windows.HBRUSH; |
| 30 | 30 | |
| 31 | | fn selectSymbol(comptime function_static: anytype, function_dynamic: @TypeOf(function_static), comptime os: std.Target.Os.WindowsVersion) @TypeOf(function_static) { |
| 31 | fn selectSymbol(comptime function_static: anytype, function_dynamic: *const @TypeOf(function_static), comptime os: std.Target.Os.WindowsVersion) *const @TypeOf(function_static) { |
| 32 | 32 | comptime { |
| 33 | 33 | const sym_ok = builtin.os.isAtLeast(.windows, os); |
| 34 | 34 | if (sym_ok == true) return function_static; |