From c175e4e395e477dbb1d564250008b974d80ec6fc Mon Sep 17 00:00:00 2001
From: Andrea Censi <andrea@cds.caltech.edu>
Date: Thu, 28 Mar 2013 20:25:16 -0700
Subject: [PATCH] Suppress warning from redefinition of macros

---
 sm/csm/restrict.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sm/csm/restrict.h b/sm/csm/restrict.h
index e62e373..5582dd5 100644
--- a/sm/csm/restrict.h
+++ b/sm/csm/restrict.h
@@ -1,6 +1,12 @@
 /* Some preprocessor magic for having fast inline functions. */
+#include <gsl/gsl_matrix.h>
+
+#ifndef INLINE
 #define INLINE static inline
+#endif
+#ifndef INLINE_DECL
 #define INLINE_DECL static inline
+#endif
 
 /* Some preprocessor magic for the "restrict" keyword:
 	http://www.cellperformance.com/mike_acton/2006/05/demystifying_the_restrict_keyw.html */
-- 
GitLab