testing/fix-macros.h: Improve the comment on the top of the file

Describe not only what for the undefs are needed, but the why too.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/908/head
Gergely Nagy 4 years ago
parent e4b48e72bb
commit 68730e4911
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -15,9 +15,8 @@
*/ */
// No `#pragma once` since these undefs need to have every time a Kaleidoscope/ // No `#pragma once` since these undefs need to have every time a Kaleidoscope/
// Arduino header is included before non-Kaleidoscope/Arduino header. // Arduino header is included before non-Kaleidoscope/Arduino header. The undefs
// #pragma once // are needed, due to naming conflicts between Arduino and Googletest.
#undef min #undef min
#undef max #undef max

Loading…
Cancel
Save