aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/double-conversion
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/double-conversion')
-rw-r--r--src/3rdparty/double-conversion/utils.h10
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.