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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user