CSystemFreeBSD.h 453 B

1234567891011121314151617181920
  1. /*
  2. This source file is part of the Swift System open source project
  3. Copyright (c) 2026 Apple Inc. and the Swift System project authors
  4. Licensed under Apache License v2.0 with Runtime Library Exception
  5. See https://swift.org/LICENSE.txt for license information
  6. */
  7. #if defined(__FreeBSD__)
  8. #include <fcntl.h>
  9. #ifdef O_CLOFORK
  10. #define COMPATIBILITY_O_CLOFORK O_CLOFORK
  11. #else
  12. #define COMPATIBILITY_O_CLOFORK 0
  13. #endif
  14. #endif // defined(__FreeBSD__)