Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
90005013
Commit
90005013
authored
Feb 26, 2018
by
Peter W. Draper
Browse files
Check if restrict is supported by the compiler and remove hack
parent
dbe0f66d
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
90005013
...
...
@@ -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).
...
...
src/inline.h
View file @
90005013
...
...
@@ -29,7 +29,6 @@
#ifndef INLINE
#ifdef __cplusplus
#define INLINE inline
#define restrict
#else
#if __GNUC__ && !__GNUC_STDC_INLINE__
#define INLINE extern inline
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment