summaryrefslogtreecommitdiff
path: root/include/gnuradio
diff options
context:
space:
mode:
authorJosh Blum2012-10-02 20:27:32 -0700
committerJosh Blum2012-10-02 20:27:32 -0700
commitd4cd9770dc973c2a506faeca80777ccda93323e3 (patch)
treed93ec32c7e0969b01b9383b5c9eb5714fdae1ae7 /include/gnuradio
parentbc1d4e117fab42150bc62d1940e142dd6d10aadc (diff)
downloadsandhi-d4cd9770dc973c2a506faeca80777ccda93323e3.tar.gz
sandhi-d4cd9770dc973c2a506faeca80777ccda93323e3.tar.bz2
sandhi-d4cd9770dc973c2a506faeca80777ccda93323e3.zip
added GRAS_DEBUG to be set in Debug mode
Diffstat (limited to 'include/gnuradio')
-rw-r--r--include/gnuradio/gras.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gnuradio/gras.hpp b/include/gnuradio/gras.hpp
index 3b7c651..93b2ef1 100644
--- a/include/gnuradio/gras.hpp
+++ b/include/gnuradio/gras.hpp
@@ -28,7 +28,9 @@
#define GRAS_MAX_ALIGNMENT 32
//define cross platform attribute macros
-#if defined(BOOST_MSVC)
+#if defined(GRAS_DEBUG)
+ #define GRAS_FORCE_INLINE inline
+#elif defined(BOOST_MSVC)
#define GRAS_FORCE_INLINE __forceinline
#elif defined(__GNUG__) && __GNUG__ >= 4
#define GRAS_FORCE_INLINE inline __attribute__((always_inline))