From 85b1f26f6547a9723ff0bee4bb7d3491312f08d4 Mon Sep 17 00:00:00 2001 From: janwas Date: Mon, 2 Aug 2004 13:38:05 +0000 Subject: [PATCH] inline in the hopes the compiler will leave out the call (so call stack isn't polluted) This was SVN commit r879. --- source/lib/sysdep/win/win.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/lib/sysdep/win/win.cpp b/source/lib/sysdep/win/win.cpp index db2cbd1e51..8fe26b2140 100755 --- a/source/lib/sysdep/win/win.cpp +++ b/source/lib/sysdep/win/win.cpp @@ -39,12 +39,13 @@ void sle(int x) // -void check_heap() +inline void check_heap() { _heapchk(); } + void display_msg(const char* caption, const char* msg) { MessageBoxA(0, msg, caption, MB_ICONEXCLAMATION);