// this static object is set by the setup() method. it should only come
// into existence once during a program's lifetime.
// this static object is set by the setup() method. it should only come
// into existence once during a program's lifetime.
// setup a handler for interrupt (e.g. ctrl-C) also.
signal(SIGINT, handle_OS_signal);
// setup a handler for interrupt (e.g. ctrl-C) also.
signal(SIGINT, handle_OS_signal);
- while (!alert.is_defunct() && (GetMessage(&msg, NIL, 0, 0)) {
+ while (!alert.is_defunct() && (GetMessage(&msg, NULL_POINTER, 0, 0)) {