Skip to content
Snippets Groups Projects
Commit 90005013 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Check if restrict is supported by the compiler and remove hack

parent dbe0f66d
Branches
Tags
1 merge request!505Cpp
......@@ -54,6 +54,9 @@ AC_USE_SYSTEM_EXTENSIONS
AX_COMPILER_VENDOR
AX_COMPILER_VERSION
# Restrict support.
AC_C_RESTRICT
# Interprocedural optimization support. Needs special handling for linking and
# archiving as well as compilation with Intels, needs to be done before
# libtool is configured (to use correct LD).
......
......@@ -29,7 +29,6 @@
#ifndef INLINE
#ifdef __cplusplus
#define INLINE inline
#define restrict
#else
#if __GNUC__ && !__GNUC_STDC_INLINE__
#define INLINE extern inline
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment