win32.c
changeset 915 013cb2d74800
parent 826 0e2b569b737b
child 983 1be852dcdd4c
equal deleted inserted replaced
914:c3ad2a35b937 915:013cb2d74800
  1459 
  1459 
  1460 	SetUnhandledExceptionFilter(ExceptionHandler);
  1460 	SetUnhandledExceptionFilter(ExceptionHandler);
  1461 }
  1461 }
  1462 #else
  1462 #else
  1463 /* Get rid of unused variable warnings.. ShowOSErrorBox
  1463 /* Get rid of unused variable warnings.. ShowOSErrorBox
  1464  * is now used twice, once in MSVC, and once in all other Win 
  1464  * is now used twice, once in MSVC, and once in all other Win
  1465  * compilers (cygwin, mingw, etc.) */
  1465  * compilers (cygwin, mingw, etc.) */
  1466 void ShowOSErrorBox(const char *buf)
  1466 void ShowOSErrorBox(const char *buf)
  1467 {
  1467 {
  1468 	MyShowCursor(true);
  1468 	MyShowCursor(true);
  1469 	MessageBoxA(GetActiveWindow(), buf, "Error!", MB_ICONSTOP);
  1469 	MessageBoxA(GetActiveWindow(), buf, "Error!", MB_ICONSTOP);