Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- src/amule.cpp 2021-12-05 12:24:31.049020928 +0000
- +++ src/amule.cpp 2023-09-10 18:33:54.047972352 +0000
- @@ -391,7 +391,7 @@
- #endif
- // Handle uncaught exceptions
- - InstallMuleExceptionHandler();
- +// InstallMuleExceptionHandler();
- if (!InitCommon(AMULE_APP_BASE::argc, AMULE_APP_BASE::argv)) {
- return false;
- --- src/libs/common/MuleDebug.cpp 2021-12-05 12:24:31.056098816 +0000
- +++ src/libs/common/MuleDebug.cpp 2023-09-11 19:49:07.048234496 +0000
- @@ -55,6 +55,7 @@
- #endif
- #include <vector>
- +#include <exception>
- /**
- @@ -108,10 +109,10 @@
- }
- -void InstallMuleExceptionHandler()
- -{
- - std::set_terminate(OnUnhandledException);
- -}
- +//void InstallMuleExceptionHandler()
- +//{
- +// std::set_terminate(OnUnhandledException);
- +//}
- // Make it 1 for getting the file path also
- --- src/Types.h 2021-12-05 12:24:31.047710208 +0000
- +++ src/Types.h 2023-09-11 20:20:07.074973184 +0000
- @@ -94,20 +94,24 @@
- * Backwards compatibility with emule.
- * Note that the int* types are indeed unsigned.
- */
- +
- +#ifdef __HAIKU__
- +#include <SupportDefs.h>
- +#else
- typedef uint8_t int8;
- -typedef uint8_t uint8;
- typedef uint16_t int16;
- -typedef uint16_t uint16;
- typedef uint32_t int32;
- -typedef uint32_t uint32;
- typedef uint64_t int64;
- +#endif
- +typedef uint8_t uint8;
- +typedef uint16_t uint16;
- +typedef uint32_t uint32;
- typedef uint64_t uint64;
- typedef int8_t sint8;
- typedef int16_t sint16;
- typedef int32_t sint32;
- typedef int64_t sint64;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement