Get compiling on Solaris
[fw/sdcc] / sim / ucsim / gui.src / serio.src / posix_signal.hh
index 18c0caec2c34630d0007a94e714fd1d8d41af8fe..b747342a6cfc939d75c708a46f5b74215ecbc01d 100644 (file)
@@ -4,7 +4,11 @@
  * Tim Hurman - t.hurman@virgin.net                                           *
  * Last edited on 01th Oct 1999                                               *
  ******************************************************************************/
+#if !defined(sun)
+/* Solaris doesn't like redefining this. */
 typedef void(*SIG_PF)(int);
+#endif
+
 class SigHandler
 {
        public: