From 35f5c52cbc0c88ae66413a135eaef763645e2aaf Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Wed, 3 May 2023 03:52:10 +0200 Subject: [PATCH] O_EXCL is now correctly implemented in std. --- src/dodb/lib_c.cr | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 src/dodb/lib_c.cr diff --git a/src/dodb/lib_c.cr b/src/dodb/lib_c.cr deleted file mode 100644 index 5a32b78..0000000 --- a/src/dodb/lib_c.cr +++ /dev/null @@ -1,9 +0,0 @@ - -lib LibC - {% if flag?(:linux) %} - O_EXCL = 0o200 - {% elsif flag?(:openbsd) %} - O_EXCL = 0x0800 - {% end %} -end -