llvm-project/libcxx/include/__random/default_random_engine.h
Arthur O'Dwyer fa6b9e4010 [libc++] Normalize all our '#pragma GCC system_header', and regression-test.
Now we'll notice if a header forgets to include this magic phrase.

Differential Revision: https://reviews.llvm.org/D118800
2022-02-04 12:27:19 -05:00

26 lines
776 B
C

//===----------------------------------------------------------------------===//
//
// 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 _LIBCPP___RANDOM_DEFAULT_RANDOM_ENGINE_H
#define _LIBCPP___RANDOM_DEFAULT_RANDOM_ENGINE_H
#include <__config>
#include <__random/linear_congruential_engine.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
#endif
_LIBCPP_BEGIN_NAMESPACE_STD
typedef minstd_rand default_random_engine;
_LIBCPP_END_NAMESPACE_STD
#endif // _LIBCPP___RANDOM_DEFAULT_RANDOM_ENGINE_H