Windows x64 support

This commit is contained in:
Jeff Lenk committed 2010-05-07 13:20:34 -05:00
1 parent 26a6b43536
commit edcf5fe0a4
9 files changed
+1364 -683

No files matched your search

+5
View File
@@ -266,7 +266,12 @@ int main(int argc, char *argv[])
}
/* register a handler to shutdown things properly */
#ifdef _WIN64
// still trying to figure this one out otherwise triggers error
if (signal(SIGINT, interrupt_requested) < 0) {
#else
if (signal(SIGINT, interrupt_requested) == SIG_ERR) {
#endif
fprintf(stderr, "Could not set the SIGINT signal handler: %s\n", strerror(errno));
exit(-1);
}