Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit f9b3687

Browse files
Fix a clash due to the Win32 SIZE typedef in the C++ tests
1 parent 129372e commit f9b3687

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

engine/test/test_new.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
3636

3737

3838
enum {
39-
SIZE =
39+
kSize =
4040
#if defined(__32_BIT__)
4141
1 << 15
4242
#else
@@ -56,11 +56,11 @@ class Big {
5656
m_big[0] = 0;
5757
}
5858

59-
char m_big[SIZE];
59+
char m_big[kSize];
6060
};
6161

6262
struct VeryBig {
63-
Big m_bigger[SIZE];
63+
Big m_bigger[kSize];
6464
};
6565

6666

0 commit comments

Comments
 (0)