From 2bd0cb0027f38fe7e9b7d3f7472ec16832f92d39 Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Tue, 16 Apr 2013 12:27:03 +0100
Subject: [PATCH 3/4] Compile fix for when not using output-sync

---
 main.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/main.c b/main.c
index 89596c7..bf54985 100644
--- a/main.c
+++ b/main.c
@@ -690,9 +690,9 @@ decode_output_sync_flags (void)
 {
   const char **pp;
 
-  if (!output_sync_option)
-    return;
-
+#ifndef OUTPUT_SYNC
+  return;
+#else
   for (pp=output_sync_option->list; *pp; ++pp)
     {
       const char *p = *pp;
@@ -704,6 +704,7 @@ decode_output_sync_flags (void)
       else
         fatal (NILF, _("unknown output-sync type '%s'"), p);
     }
+#endif
 }
 
 #ifdef WINDOWS32
-- 
1.8.0.msysgit.0

