shithub: cstory

Download patch

ref: 8798a7cc19c54f84692ed6231ea6fd80b430240d
parent: 2f4eb464a5ab3307eedba9734a3ea14eedf4c048
author: Clownacy <[email protected]>
date: Wed Jan 22 18:52:31 EST 2020

Add the RGB macro to the windows.h wrapper

--- a/src/WindowsWrapper.h
+++ b/src/WindowsWrapper.h
@@ -2,6 +2,8 @@
 
 #include <stdio.h>
 
+#define RGB(r,g,b) ((r) | ((g) << 8) | ((b) << 16))
+
 typedef bool BOOL;
 
 #define FALSE false