Commit ced44222 authored by sagnowski's avatar sagnowski
Browse files

Be more specific with platform checks

parent 2c3875a6
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -212,7 +212,7 @@ void print_stack(void) {
  }
  free(strs);
}
#else
#elif defined _WIN32 || defined _WIN64
#include <windows.h>
#include <dbghelp.h>
void print_stack(void) {
@@ -238,6 +238,10 @@ void print_stack(void) {

  free(symbol);
}
#else
void print_stack(void) {
  printf("[BASOP] <call stack would be here> - printing call stack is not supported on this platform\n");
}
#endif

void print_basop_noglob_warning(void) {