* included in the distribution.
*
* $RCSfile: connect.h,v $
- * $Revision: 1.43 $
- * $Date: 2000/05/26 10:14:33 $
+ * $Revision: 1.44 $
+ * $Date: 2000/06/28 10:42:17 $
* ------------------------------------------------------------------------*/
/* --------------------------------------------------------------------------
#else
-#define setHandler(bh) do { } while(0)
+#define setHandler(bh) { void* old_hdlr = signal(SIGINT,bh);\
+ if (old_hdlr == SIG_ERR) internal("setHandler"); \
+ }
#endif /* !defined(mingw32_TARGET_OS) */