summaryrefslogtreecommitdiff
path: root/src/cajun/elements.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cajun/elements.h')
-rw-r--r--src/cajun/elements.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cajun/elements.h b/src/cajun/elements.h
index 3ddff30..f43b1be 100644
--- a/src/cajun/elements.h
+++ b/src/cajun/elements.h
@@ -35,6 +35,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <string>
#include <stdexcept>
+#if defined(_MSC_VER)
+#define TPT_NO_INLINE //Remove inlines in visual studio, but only the ones that don't work
+#else
+#define TPT_NO_INLINE inline
+#endif
+
/*
TODO: