php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
align.h
Go to the documentation of this file.
1/*
2Implementation by the Keccak, Keyak and Ketje Teams, namely, Guido Bertoni,
3Joan Daemen, Michaƫl Peeters, Gilles Van Assche and Ronny Van Keer, hereby
4denoted as "the implementer".
5
6For more information, feedback or questions, please refer to our websites:
7http://keccak.noekeon.org/
8http://keyak.noekeon.org/
9http://ketje.noekeon.org/
10
11To the extent possible under law, the implementer has waived all copyright
12and related or neighboring rights to the source code in this file.
13http://creativecommons.org/publicdomain/zero/1.0/
14*/
15
16#ifndef _align_h_
17#define _align_h_
18
19/* on Mac OS-X and possibly others, ALIGN(x) is defined in param.h, and -Werror chokes on the redef. */
20#ifdef ALIGN
21#undef ALIGN
22#endif
23
24#if defined(__GNUC__)
25#define ALIGN(x) __attribute__ ((aligned(x)))
26#elif defined(_MSC_VER)
27#define ALIGN(x) __declspec(align(x))
28#elif defined(__ARMCC_VERSION)
29#define ALIGN(x) __align(x)
30#else
31#define ALIGN(x)
32#endif
33
34#endif