Commit 90005013 authored by Peter W. Draper's avatar Peter W. Draper

Check if restrict is supported by the compiler and remove hack

parent dbe0f66d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment