You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cant be arsed to PR this so... assert for linux would be better as #ifdef _WIN32 #define DEBUG_BREAK() __debugbreak() #define EXPORT_FN __declspec(dllexport) #elif __linux__ #include <signal.h> #define DEBUG_BREAK() raise(SIGTRAP) #define EXPORT_FN #elif __APPLE__ #define DEBUG_BREAK() __builtin_trap() #define EXPORT_FN #endif as it does not work on all compilers on distros in its current form
The text was updated successfully, but these errors were encountered:
I cant be arsed to PR this so... assert for linux would be better as
#ifdef _WIN32 #define DEBUG_BREAK() __debugbreak() #define EXPORT_FN __declspec(dllexport) #elif __linux__ #include <signal.h> #define DEBUG_BREAK() raise(SIGTRAP) #define EXPORT_FN #elif __APPLE__ #define DEBUG_BREAK() __builtin_trap() #define EXPORT_FN #endif
as it does not work on all compilers on distros in its current formThe text was updated successfully, but these errors were encountered: