Skip to content

Commit 9349e3f

Browse files
committed
Disable fcntl directory notify constants on Mono
1 parent 62b2f65 commit 9349e3f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/core/IronPython.Modules/fcntl.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,8 @@ private static bool TryGetInt64(object? obj, out long value) {
537537

538538
// Linux only
539539
#region Generated Directory Notify Flags
540+
#if NET
541+
// Disabled on Mono because of inability to open directory descriptors
540542

541543
// *** BEGIN GENERATED CODE ***
542544
// generated by function: generate_DN_flags from: generate_os_codes.py
@@ -572,5 +574,6 @@ private static bool TryGetInt64(object? obj, out long value) {
572574

573575
// *** END GENERATED CODE ***
574576

577+
#endif
575578
#endregion
576579
}

0 commit comments

Comments
 (0)