aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/redshift.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/redshift.c b/src/redshift.c
index a813956..4fa9b85 100644
--- a/src/redshift.c
+++ b/src/redshift.c
@@ -53,6 +53,11 @@
#define MIN(x,y) ((x) < (y) ? (x) : (y))
#define MAX(x,y) ((x) > (y) ? (x) : (y))
+/* pause() is not defined on windows platform but is not needed either.
+ Use a noop macro instead. */
+#ifdef __WIN32__
+# define pause()
+#endif
#include "gamma-dummy.h"