[libc-commits] [libc] [libc] Implement fcntl() function (PR #89507)
Hendrik Hübner via libc-commits
libc-commits at lists.llvm.org
Tue Jun 11 11:40:09 PDT 2024
================
@@ -0,0 +1,21 @@
+//===-- Proxy for struct flock64 -----------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+#ifndef LLVM_LIBC_HDR_TYPES_STRUCT_FLOCK64_H
+#define LLVM_LIBC_HDR_TYPES_STRUCT_FLOCK64_H
+
+#ifdef LIBC_FULL_BUILD
+
+#include "include/llvm-libc-types/struct_flock64.h"
+
+#else
+
+#include <fcntl.h>
----------------
HendrikHuebner wrote:
This is looking suspicious. I don't think struct flock64 is defined anywhere if LIBC_FULL_BUILD is not defined
https://github.com/llvm/llvm-project/pull/89507
More information about the libc-commits
mailing list