diff options
author | Sérgio Martins <sergio.martins@kdab.com> | 2013-08-29 10:17:12 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-29 12:50:44 +0200 |
commit | e88a447dc08db341382fa82fcebb38e2579f5d5c (patch) | |
tree | dd4b4d6fef2f7ce497d7d4f179c747e9cdcc6498 /src/3rdparty/double-conversion | |
parent | 75156b3c213463b240269987e23b5834ede77886 (diff) |
wince: Build fix, assert() is not present in this platform.
Change-Id: Ib29f1411b9829bc9bf6a94e4fb23a33f955ee1b2
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/3rdparty/double-conversion')
-rw-r--r-- | src/3rdparty/double-conversion/utils.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/3rdparty/double-conversion/utils.h b/src/3rdparty/double-conversion/utils.h index f0524804b4..f5a8c984e4 100644 --- a/src/3rdparty/double-conversion/utils.h +++ b/src/3rdparty/double-conversion/utils.h @@ -33,13 +33,17 @@ #include <assert.h> #ifndef ASSERT -#define ASSERT(condition) (assert(condition)) +# if defined(WINCE) || defined(_WIN32_WCE) +# define ASSERT(condition) +# else +# define ASSERT(condition) (assert(condition)) +# endif #endif #ifndef UNIMPLEMENTED -#define UNIMPLEMENTED() (exit(-1)) +# define UNIMPLEMENTED() (exit(-1)) #endif #ifndef UNREACHABLE -#define UNREACHABLE() (exit(-1)) +# define UNREACHABLE() (exit(-1)) #endif // Double operations detection based on target architecture. |