Commit 4654501e authored by Dmitry Shulga's avatar Dmitry Shulga

MDEV-23926: Follow-up patch

This patch removes unnecessary #ifdefs in cmake macros CHECK_C_SOURCE_COMPILES.
parent 58da04b2
......@@ -11,12 +11,8 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
SET(CMAKE_REQUIRED_FLAGS -Werror)
CHECK_C_SOURCE_COMPILES(
"
#ifdef HAVE_GRP_H
#include <grp.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
int main() {
char *arg_1;
gid_t arg_2, arg_3;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment