blob: cd21afc44bedd779a1b1ce2047c0441555f8a414 [file] [edit]
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
///
/// \file
/// Definition of macros from semaphore.h.
///
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_MACROS_SEMAPHORE_MACROS_H
#define LLVM_LIBC_MACROS_SEMAPHORE_MACROS_H
// The value returned by sem_open on failure.
#define SEM_FAILED ((sem_t *)0)
#endif // LLVM_LIBC_MACROS_SEMAPHORE_MACROS_H