// -*- C++ -*-
-// Copyright (C) 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+// Copyright (C) 2007-2024 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the terms
}
}
-#define _GLIBCXX_PARALLEL_ASSERT(_Condition) __glibcxx_assert(_Condition)
+#if _GLIBCXX_PARALLEL_ASSERTIONS && defined(__glibcxx_assert_impl)
+# define _GLIBCXX_PARALLEL_ASSERT(_Condition) \
+ do { __glibcxx_assert_impl(_Condition); } while (false)
+#else
+# define _GLIBCXX_PARALLEL_ASSERT(_Condition) do { } while (false)
+#endif
} //namespace __gnu_parallel