]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgomp/config/linux/mips/futex.h
Update copyright years.
[thirdparty/gcc.git] / libgomp / config / linux / mips / futex.h
index 83b0aefede745345217651c82bb9432926a543d9..b54c087b60648c2ad958aa3a88f90123e4bdb4c5 100644 (file)
@@ -1,7 +1,8 @@
-/* Copyright (C) 2005, 2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2005-2024 Free Software Foundation, Inc.
    Contributed by Ilie Garbacea <ilie@mips.com>, Chao-ying Fu <fu@mips.com>.
 
-   This file is part of the GNU OpenMP Library (libgomp).
+   This file is part of the GNU Offloading and Multi Processing Library
+   (libgomp).
 
    Libgomp is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by
 /* Provide target-specific access to the futex system call.  */
 
 #include <sys/syscall.h>
+
+#if !defined (SYS_futex)
+#define SYS_futex __NR_futex
+#endif
+
 #define FUTEX_WAIT 0
 #define FUTEX_WAKE 1