herb | 4d1dd66 | 2016-06-23 09:40:30 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
Mike Klein | e9f78b4 | 2016-11-22 08:57:45 -0500 | [diff] [blame] | 8 | #include "SkSafe_math.h" // Keep this first. |
herb | 4d1dd66 | 2016-06-23 09:40:30 -0700 | [diff] [blame] | 9 | #include "SkOpts.h" |
| 10 | |
mtklein | 0358a6a | 2016-07-13 08:02:20 -0700 | [diff] [blame] | 11 | #define SK_OPTS_NS avx |
herb | 4d1dd66 | 2016-06-23 09:40:30 -0700 | [diff] [blame] | 12 | |
Mike Klein | e9f78b4 | 2016-11-22 08:57:45 -0500 | [diff] [blame] | 13 | #if defined(_INC_MATH) && !defined(INC_MATH_IS_SAFE_NOW) |
| 14 | #error We have included ucrt\math.h without protecting it against ODR violation. |
| 15 | #endif |
| 16 | |
herb | 4d1dd66 | 2016-06-23 09:40:30 -0700 | [diff] [blame] | 17 | namespace SkOpts { |
| 18 | void Init_avx() { } |
| 19 | } |