summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-07-02 22:12:12 +0200
committerSergei Golubchik <sergii@pisem.net>2011-07-02 22:12:12 +0200
commitb4a0b2c2f862ab0de853dc34e1e56f6159043e45 (patch)
tree18a0c25fdc9ac0076da19247666414a46434b85e /plugin
parent9809f05199aeb0b67991fac41bd86f38730768dc (diff)
downloadmariadb-git-b4a0b2c2f862ab0de853dc34e1e56f6159043e45.tar.gz
post-merge fixes.
most tests pass. 5.3 merge is next
Diffstat (limited to 'plugin')
-rw-r--r--plugin/auth/dialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/auth/dialog.c b/plugin/auth/dialog.c
index f496d454256..f2901811428 100644
--- a/plugin/auth/dialog.c
+++ b/plugin/auth/dialog.c
@@ -39,16 +39,16 @@
# define RTLD_DEFAULT GetModuleHandle(NULL)
#endif
+#if !defined (_GNU_SOURCE)
+# define _GNU_SOURCE /* for RTLD_DEFAULT */
+#endif
+
#include <mysql/plugin_auth.h>
#include <mysql/client_plugin.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
-#if !defined (_GNU_SOURCE)
-# define _GNU_SOURCE /* for RTLD_DEFAULT */
-#endif
-
/**
first byte of the question string is the question "type".
It can be an "ordinary" or a "password" question.