comparison src/w32fns.c @ 23801:119fd94ae526

(w32_last_error): Fix cut+paste error.
author Geoff Voelker <voelker@cs.washington.edu>
date Wed, 02 Dec 1998 23:00:29 +0000
parents af0276da2059
children f112aa8f8f5d
comparison
equal deleted inserted replaced
23800:a7dd4cded68c 23801:119fd94ae526
6897 } 6897 }
6898 6898
6899 #undef abort 6899 #undef abort
6900 6900
6901 void 6901 void
6902 /* For convenience when debugging. */
6903 int
6904 w32_last_error()
6905 {
6906 return GetLastError ();
6907 }
6908 w32_abort() 6902 w32_abort()
6909 { 6903 {
6910 int button; 6904 int button;
6911 button = MessageBox (NULL, 6905 button = MessageBox (NULL,
6912 "A fatal error has occurred!\n\n" 6906 "A fatal error has occurred!\n\n"
6926 abort (); 6920 abort ();
6927 break; 6921 break;
6928 } 6922 }
6929 } 6923 }
6930 6924
6925 /* For convenience when debugging. */
6926 int
6927 w32_last_error()
6928 {
6929 return GetLastError ();
6930 }