mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 15:29:06 +08:00
f6df03b4a8
* [assimp] Fix -config.cmake files * [assimp] Fix linux build and provide backwards-compatible alias * [assimp][irrxml][kubazip][poly2tri][polyclipping] Extract vendored dependencies * [assimp] Use find_dependency(); add ZLIB dependency * [polyclipping] Do not suffix upstream binaries Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
21 lines
940 B
Diff
21 lines
940 B
Diff
--- a/src/irrTypes.h
|
|
+++ b/src/irrTypes.h
|
|
@@ -79,17 +79,13 @@ typedef unsigned short wchar_t;
|
|
#endif // microsoft compiler
|
|
|
|
//! define a break macro for debugging only in Win32 mode.
|
|
-#if defined(WIN32) && defined(_MSC_VER) && defined(_DEBUG)
|
|
-#define _IRR_DEBUG_BREAK_IF( _CONDITION_ ) if (_CONDITION_) {_asm int 3}
|
|
-#else
|
|
#define _IRR_DEBUG_BREAK_IF( _CONDITION_ )
|
|
-#endif
|
|
|
|
//! Defines a small statement to work around a microsoft compiler bug.
|
|
/** The microsft compiler 7.0 - 7.1 has a bug:
|
|
When you call unmanaged code that returns a bool type value of false from managed code,
|
|
the return value may appear as true. See
|
|
http://support.microsoft.com/default.aspx?kbid=823071 for details.
|
|
Compiler version defines: VC6.0 : 1200, VC7.0 : 1300, VC7.1 : 1310, VC8.0 : 1400*/
|
|
#if defined(WIN32) && defined(_MSC_VER) && (_MSC_VER > 1299) && (_MSC_VER < 1400)
|
|
#define _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX __asm mov eax,100
|