diff --git a/src/stdafx.h b/src/stdafx.h index 41134921b6..96b740fa4a 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -285,14 +285,6 @@ char (&ArraySizeHelper(T (&array)[N]))[N]; */ #define lengthof(array) (sizeof(ArraySizeHelper(array))) -/** - * Get the end element of an fixed size array. - * - * @param x The pointer to the first element of the array - * @return The pointer past to the last element of the array - */ -#define endof(x) (&x[lengthof(x)]) - /** * Get the last element of an fixed size array. *