We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 396f9c6 commit f2b0777Copy full SHA for f2b0777
1 file changed
LibSource/ScreenBuffer.h
@@ -2,18 +2,12 @@
2
#define __ScreenBuffer_h__
3
4
#include <stdint.h>
5
+#include <string.h>
6
#include "device.h"
7
#include "message.h"
8
-#define swap(a, b) { int16_t t = a; a = b; b = t; }
9
-#ifndef min
10
-#define min(a,b) ((a)<(b)?(a):(b))
11
-#endif
12
-#ifndef max
13
-#define max(a,b) ((a)>(b)?(a):(b))
14
15
-#ifndef abs
16
-#define abs(x) ((x)>0?(x):-(x))
+#ifndef swap
+#define swap(a, b) { int t = a; a = b; b = t; }
17
#endif
18
19
template<typename Colour, Colour BLACK, Colour WHITE>
0 commit comments