Skip to content

Instantly share code, notes, and snippets.

@takaokouji
Created February 15, 2010 15:05
Show Gist options
  • Save takaokouji/304708 to your computer and use it in GitHub Desktop.
Save takaokouji/304708 to your computer and use it in GitHub Desktop.
diff --git a/signal.c b/signal.c
index 12b25f1..4d891b5 100644
--- a/signal.c
+++ b/signal.c
@@ -20,8 +20,10 @@
#include "vm.h"
#include <signal.h>
#include <stdio.h>
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
#include <dispatch/dispatch.h>
#include <dispatch/queue.h>
+#endif
#define USE_DEFAULT_HANDLER (void (*)(int))-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment