aboutsummaryrefslogtreecommitdiff
path: root/std/special/bootstrap_lib.zig
blob: 40b6588838f04bf42d1010dcf00a81a1621d6b7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// This file is included in the compilation unit when exporting a library on windows.

const std = @import("std");

comptime {
    @export("_DllMainCRTStartup", _DllMainCRTStartup);
}

stdcallcc fn _DllMainCRTStartup(hinstDLL: std.os.windows.HINSTANCE, fdwReason: std.os.windows.DWORD,
    lpReserved: std.os.windows.LPVOID) std.os.windows.BOOL
{
    return std.os.windows.TRUE;
}