Skip to content

Commit f323d0e

Browse files
fix: windows bug
1 parent 22d5ee4 commit f323d0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/otel.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pub const Resource = struct {
108108
// Auto-detect process information at runtime
109109
updated.process_pid = switch (@import("builtin").os.tag) {
110110
.linux => @intCast(std.os.linux.getpid()),
111-
.windows => @intCast(std.os.windows.kernel32.GetCurrentProcessId()),
111+
.windows => @intCast(std.os.windows.GetCurrentProcessId()),
112112
.macos => @intCast(std.c.getpid()),
113113
else => null,
114114
};

0 commit comments

Comments
 (0)