aboutsummaryrefslogblamecommitdiffstats
path: root/common.h
blob: 1245bf6614ba60127ab233a3d2023e43f74dd70f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                    
/* See LICENSE file for copyright and license details. */
#include "libkeccak.h"


#include <sys/stat.h>
#include <alloca.h>
#include <errno.h>
#include <unistd.h>


/* Use built in functions and branching optimisation if available */
#ifndef __GNUC__
# define __builtin_expect(expression, expect) expression
# define __builtin_memset(dest, c, n) memset(dest, c, n)
# define __builtin_memcpy(dest, src, n) memcpy(dest, src, n)
# define __builtin_memmove(dest, src, n) memmove(dest, src, n)
#endif