From f524a1720af5bacf807684d890afa85af4cbe5b7 Mon Sep 17 00:00:00 2001 From: nadiramra Date: Tue, 1 Jun 2010 16:36:08 +0000 Subject: AXIS2C-1467 Dangerous macros defs in axutil_unix.h and axutil_windows.h git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@950151 13f79535-47bb-0310-9956-ffa450edef68 --- util/include/platforms/windows/axutil_windows.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util/include/platforms/windows/axutil_windows.h') diff --git a/util/include/platforms/windows/axutil_windows.h b/util/include/platforms/windows/axutil_windows.h index a473264..44a3ac9 100644 --- a/util/include/platforms/windows/axutil_windows.h +++ b/util/include/platforms/windows/axutil_windows.h @@ -149,10 +149,10 @@ extern "C" #define AXIS2_STRRCHR(x, y) (strrchr(x, y)) -#define AXIS2_PLATFORM_SLEEP(x) Sleep(0); +#define AXIS2_PLATFORM_SLEEP(x) Sleep(0) #define AXIS2_SLEEP(x) Sleep((x)*1000) -#define AXIS2_USLEEP(x) Sleep((x)/1000); +#define AXIS2_USLEEP(x) Sleep((x)/1000) /** * Get the last error code from the system. @@ -160,7 +160,7 @@ extern "C" * and that it returns a long * @return long the last error message for this thread */ -#define AXIS2_GETLASTERROR GetLastError(); +#define AXIS2_GETLASTERROR GetLastError() /** * From the last error number get a sensible std::string representing it -- cgit v1.1-32-gdbae