summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/ccmake.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CursesDialog/ccmake.cxx')
-rw-r--r--Source/CursesDialog/ccmake.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx
index ae38c79..330bf0e 100644
--- a/Source/CursesDialog/ccmake.cxx
+++ b/Source/CursesDialog/ccmake.cxx
@@ -28,6 +28,9 @@
cmCursesForm* cmCursesForm::CurrentForm=0;
+extern "C"
+{
+
void onsig(int sig)
{
if (cmCursesForm::CurrentForm)
@@ -46,6 +49,8 @@ void onsig(int sig)
}
signal(SIGWINCH, onsig);
}
+
+}
void CMakeErrorHandler(const char* message, const char* title, bool& disable)
{