8000 simplify macros for Windows (#16105) · OOSYOO/arangodb@d2a4332 · GitHub
[go: up one dir, main page]

Skip to content

Commit d2a4332

Browse files
authored
simplify macros for Windows (arangodb#16105)
1 parent cbae7f3 commit d2a4332

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lib/Basics/Common.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,9 @@
3333
#define NOMINMAX
3434
#endif
3535

36-
#endif
37-
38-
#ifdef _WIN32
39-
// some Windows headers define macros named free and small,
40-
// leading to follow-up compile errors
41-
#undef free
42-
#undef small
4336
// Windows debug mode also seems to define DEBUG preproc symbol
4437
#undef DEBUG
38+
4539
#endif
4640

4741
#ifdef ARANGODB_USE_GOOGLE_TESTS

0 commit comments

Comments
 (0)
0