summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config-win.h3
-rw-r--r--include/my_sys.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/include/config-win.h b/include/config-win.h
index ab463a7c142..39affd3b8e9 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -206,6 +206,9 @@ typedef uint rf_SetTimer;
/* If LOAD DATA LOCAL INFILE should be enabled by default */
#define ENABLED_LOCAL_INFILE 1
+/* If query profiling should be enabled by default */
+#define ENABLED_PROFILING 1
+
/* Convert some simple functions to Posix */
#define my_sigset(A,B) signal((A),(B))
diff --git a/include/my_sys.h b/include/my_sys.h
index 35c4eb5f2b1..bfb1a672641 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -162,6 +162,7 @@ extern char *my_strdup_with_length(const char *from, size_t length,
#define ORIG_CALLER_INFO /* nothing */
#define TRASH(A,B) /* nothing */
#endif
+#define my_strndup(A,B,C) my_strdup_with_length((A), (B), (C))
#ifdef HAVE_LARGE_PAGES
extern uint my_get_large_page_size(void);