Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
altivec.h
Go to the documentation of this file.
1/*
2 This file is part of darktable,
3 Copyright (C) 2019 Robert Bridge.
4 Copyright (C) 2022 Martin Baƙinka.
5
6 darktable is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 darktable is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with darktable. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#ifndef __APPLE_ALTIVEC__
21/* Prevent gcc from defining the keywords as macros. Do not manually
22 * undef for c99 stdbool.h compat.
23 */
24 #define __APPLE_ALTIVEC__ 1
25 #include_next <altivec.h>
26 #undef __APPLE_ALTIVEC__
27#else
28 #include_next <altivec.h>
29#endif
30// clang-format off
31// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
32// vim: shiftwidth=2 expandtab tabstop=2 cindent
33// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
34// clang-format on
35