Skip to content
Permalink
Browse files
MDEV-23926: Follow-up patch
This patch removes unnecessary #ifdefs in cmake macros CHECK_C_SOURCE_COMPILES.
  • Loading branch information
dmitryshulga committed Oct 23, 2020
1 parent 58da04b commit 4654501
Showing 1 changed file with 0 additions and 4 deletions.
@@ -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;

0 comments on commit 4654501

Please sign in to comment.