package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
946 B
26 lines
946 B
diff --git a/lzhamdecomp/lzham_platform.cpp b/lzhamdecomp/lzham_platform.cpp |
|
index cfc85c1..2cf493c 100644 |
|
--- a/lzhamdecomp/lzham_platform.cpp |
|
+++ b/lzhamdecomp/lzham_platform.cpp |
|
@@ -62,7 +62,7 @@ void lzham_debug_break(void) |
|
#if LZHAM_USE_WIN32_API |
|
DebugBreak(); |
|
#elif (TARGET_OS_MAC == 1) && (TARGET_IPHONE_SIMULATOR == 0) && (TARGET_OS_IPHONE == 0) |
|
- __asm {int 3} |
|
+ __asm__("int $3"); |
|
#else |
|
assert(0); |
|
#endif |
|
diff --git a/lzhamdecomp/lzham_traits.h b/lzhamdecomp/lzham_traits.h |
|
index ea7214f..1ec89ae 100644 |
|
--- a/lzhamdecomp/lzham_traits.h |
|
+++ b/lzhamdecomp/lzham_traits.h |
|
@@ -68,7 +68,7 @@ namespace lzham |
|
#define LZHAM_DEFINE_BITWISE_COPYABLE(Q) template<> struct bitwise_copyable<Q> { enum { cFlag = true }; }; |
|
|
|
#if defined(__APPLE__) || defined(__NetBSD__) |
|
- #define LZHAM_IS_POD(T) std::__is_pod<T>::__value |
|
+ #define LZHAM_IS_POD(T) std::is_pod<T>::value |
|
#else |
|
#define LZHAM_IS_POD(T) __is_pod(T) |
|
#endif
|
|
|