mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
Fix build without OpenMP (nw)
This commit is contained in:
parent
6987c0594e
commit
707bdb5f2c
@ -35,7 +35,9 @@ inline void vec_set (const std::size_t n, const double &scalar, double * RESTRIC
|
||||
for ( std::size_t i = 0; i < n; i++ )
|
||||
result[i] = scalar;
|
||||
}
|
||||
#if HAS_OPENMP
|
||||
#include "omp.h"
|
||||
#endif
|
||||
inline double vecmult (const std::size_t n, const double * RESTRICT a1, const double * RESTRICT a2 )
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user