From c06eaf21b78093524e1a39c55415d4eab3d2cd78 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sat, 17 Aug 2013 17:20:09 +0400 Subject: MDEV-4165 [PATCH] RFE: make tmpdir a build-time configurable option support -DTMPDIR=/path in CMakeLists.txt Patch by Honza Horak. --- include/my_global.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/my_global.h b/include/my_global.h index 2f42349b265..2f097847c89 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -1515,4 +1515,11 @@ static inline double rint(double x) #endif /* EMBEDDED_LIBRARY */ +/* + Define default tmpdir if not already set. +*/ +#if !defined(DEFAULT_TMPDIR) +#define DEFAULT_TMPDIR P_tmpdir +#endif + #endif /* my_global_h */ -- cgit v1.2.1