summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorDmitry Shulga <dmitry.shulga@mariadb.com>2020-10-23 20:01:50 +0700
committerDmitry Shulga <dmitry.shulga@mariadb.com>2020-10-23 20:01:50 +0700
commit4654501e00947422710b949832d1b9ff8a7a40a5 (patch)
treeaa76955e34c756601396cf1cb27cba7c501c5826 /plugin
parent58da04b26122b61c960cbd5130bd638b32e66f01 (diff)
downloadmariadb-git-4654501e00947422710b949832d1b9ff8a7a40a5.tar.gz
MDEV-23926: Follow-up patch
This patch removes unnecessary #ifdefs in cmake macros CHECK_C_SOURCE_COMPILES.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/auth_pam/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugin/auth_pam/CMakeLists.txt b/plugin/auth_pam/CMakeLists.txt
index e06859ae9b7..dbb4701fbc4 100644
--- a/plugin/auth_pam/CMakeLists.txt
+++ b/plugin/auth_pam/CMakeLists.txt
@@ -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;