Skip to content

Commit

Permalink
Check for __has_include
Browse files Browse the repository at this point in the history
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
  • Loading branch information
angt committed Sep 24, 2019
1 parent 0b1aa2a commit 4ff57bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aegis256.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
#include "errno.h"
#include "aegis256.h"

#ifndef __has_include
#define __has_include(X) 0
#endif

#if __has_include("x86intrin.h")

#include <string.h>
Expand Down

0 comments on commit 4ff57bf

Please sign in to comment.