redshift: Add noop pause() macro on windows platform

Build failed on windows platform since pause() is not available. The
function is not needed on the windows platform so we just define a
noop pause() macro.
This commit is contained in:
Jon Lund Steffensen
2015-01-04 14:53:16 -05:00
parent bd086885a5
commit 0cc785c730
+5
View File
@@ -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"