| ... | @@ -1,6 +1,7 @@ | ... | @@ -1,6 +1,7 @@ |
| 1 | // This file is included in the compilation unit when exporting a library on windows. | 1 | // This file is included in the compilation unit when exporting a library on windows. |
| 2 | | 2 | |
| 3 | const std = @import("std"); | 3 | const std = @import("std"); |
| | 4 | const builtin = @import("builtin"); |
| 4 | | 5 | |
| 5 | comptime { | 6 | comptime { |
| 6 | @export("_DllMainCRTStartup", _DllMainCRTStartup, builtin.GlobalLinkage.Strong); | 7 | @export("_DllMainCRTStartup", _DllMainCRTStartup, builtin.GlobalLinkage.Strong); |