mirror of
https://github.com/apple/swift-system
synced 2026-11-23 04:34:26 +00:00
22 lines
418 B
C
22 lines
418 B
C
/*
|
|
This source file is part of the Swift System open source project
|
|
|
|
Copyright (c) 2026 Apple Inc. and the Swift System project authors
|
|
Licensed under Apache License v2.0 with Runtime Library Exception
|
|
|
|
See https://swift.org/LICENSE.txt for license information
|
|
*/
|
|
|
|
#if defined(__FreeBSD__)
|
|
|
|
#include <fcntl.h>
|
|
|
|
#ifdef O_CLOFORK
|
|
#define FREEBSD_O_CLOFORK O_CLOFORK
|
|
#else
|
|
#define FREEBSD_O_CLOFORK 0
|
|
#endif
|
|
|
|
#endif
|
|
|