Skip to content

Commit 113c3fa

Browse files
committed
Drop compatibility definitions for R < 3.4
SET_GROWABLE_BIT appeared in 3.4.0, which we now depend upon. R_(Calloc|Realloc|Free) seem to have existed for a long time and definitely were available in 3.4 (per #6380).
1 parent c4ea09e commit 113c3fa

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/data.table.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@
1212
# define COMPLEX_RO COMPLEX
1313
# define RAW_RO RAW
1414
# define LOGICAL_RO LOGICAL
15-
# define R_Calloc(x, y) Calloc(x, y) // #6380
16-
# define R_Realloc(x, y, z) Realloc(x, y, z)
17-
# define R_Free(x) Free(x)
18-
#endif
19-
#if R_VERSION < R_Version(3, 4, 0)
20-
# define SET_GROWABLE_BIT(x) // #3292
2115
#endif
2216
// TODO: remove the `R_SVN_VERSION` check when R 4.5.0 is released (circa Apr. 2025)
2317
#if R_VERSION < R_Version(4, 5, 0) || R_SVN_REVISION < 86702

0 commit comments

Comments
 (0)