diff options
author | nadiramra | 2010-06-01 16:36:08 +0000 |
---|---|---|
committer | nadiramra | 2010-06-01 16:36:08 +0000 |
commit | f524a1720af5bacf807684d890afa85af4cbe5b7 (patch) | |
tree | 7dfae2d75f3f7b258fbdcd38b6c2dec3903fca69 /util/include/platforms/windows | |
parent | 2c853b4c44ff3e27ee2f0e018a983d4b08de25c2 (diff) | |
download | axis2c-f524a1720af5bacf807684d890afa85af4cbe5b7.tar.gz axis2c-f524a1720af5bacf807684d890afa85af4cbe5b7.tar.bz2 |
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
Diffstat (limited to 'util/include/platforms/windows')
-rw-r--r-- | util/include/platforms/windows/axutil_windows.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |