summaryrefslogtreecommitdiff
path: root/synth/watch_files.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@thinkpad.(none)>2011-02-14 15:55:01 +0100
committerFlorian Jung <flo@thinkpad.(none)>2011-02-14 15:55:01 +0100
commit531a6e90cbf1cc2afd8eae7683bda48c5cf4506a (patch)
treec6b22210b7669492ae726ad494937a32a5fabeac /synth/watch_files.cpp
parentd4e928c4eecdcb12ebc96054c92cfc7b701c9a83 (diff)
Clean enabling/disabling of frameskip and watching per defines
Diffstat (limited to 'synth/watch_files.cpp')
-rw-r--r--synth/watch_files.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/synth/watch_files.cpp b/synth/watch_files.cpp
index ce80224..3ea830a 100644
--- a/synth/watch_files.cpp
+++ b/synth/watch_files.cpp
@@ -1,3 +1,6 @@
+#include "defines.h"
+#ifdef WATCHFILES
+
#include <iostream>
#include <pthread.h>
#include <unistd.h>
@@ -158,3 +161,5 @@ void add_watch(int prog)
pthread_mutex_unlock(&inotify_map_mutex);
}
}
+
+#endif