diff options
| author | Jonathan Marler <johnnymarler@gmail.com> | 2023-02-18 11:46:24 -0700 |
|---|---|---|
| committer | Jonathan Marler <johnnymarler@gmail.com> | 2023-02-18 11:49:15 -0700 |
| commit | dafefe9c9d3ffd484915ead0474c7e772f1dfcfb (patch) | |
| tree | fc8d6b6144f52645b7d3bf0f4796ae6326ab9327 /test | |
| parent | 0a8fe34b11f7a44fd7f744bf4332353a5e7bfcdf (diff) | |
| download | zig-dafefe9c9d3ffd484915ead0474c7e772f1dfcfb.tar.gz zig-dafefe9c9d3ffd484915ead0474c7e772f1dfcfb.zip | |
use std_options for keep_sigpipe and existence of SIG.PIPE to check for support
Diffstat (limited to 'test')
| -rw-r--r-- | test/standalone/sigpipe/breakpipe.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/standalone/sigpipe/breakpipe.zig b/test/standalone/sigpipe/breakpipe.zig index 6498f5b2eb..3623451db5 100644 --- a/test/standalone/sigpipe/breakpipe.zig +++ b/test/standalone/sigpipe/breakpipe.zig @@ -1,7 +1,7 @@ const std = @import("std"); const build_options = @import("build_options"); -pub usingnamespace if (build_options.keep_sigpipe) struct { +pub const std_options = if (build_options.keep_sigpipe) struct { pub const keep_sigpipe = true; } else struct { // intentionally not setting keep_sigpipe to ensure the default behavior is equivalent to false |
