summaryrefslogtreecommitdiff
path: root/sql/unireg.h
diff options
context:
space:
mode:
authorunknown <reggie@poseidon.ndb.mysql.com>2005-11-07 17:15:23 +0100
committerunknown <reggie@poseidon.ndb.mysql.com>2005-11-07 17:15:23 +0100
commit9ab64743b593cf1cea05203cf34771d8e89a2669 (patch)
treea7e98f5c30672b93068dfead6dd8ea455d00bb29 /sql/unireg.h
parent555ffcaf2b2cc42ffa430f0225a95e64962ecddb (diff)
downloadmariadb-git-9ab64743b593cf1cea05203cf34771d8e89a2669.tar.gz
some small changes to help get 5.1 compiling cleanly on Windows and with Visual C++ 2005
Diffstat (limited to 'sql/unireg.h')
-rw-r--r--sql/unireg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/unireg.h b/sql/unireg.h
index 2f1d3c2082d..d613392f831 100644
--- a/sql/unireg.h
+++ b/sql/unireg.h
@@ -36,6 +36,9 @@
#ifndef SHAREDIR
#define SHAREDIR "share/"
#endif
+#ifndef LIBDIR
+#define LIBDIR "lib/"
+#endif
#define ER(X) errmesg[(X) - ER_ERROR_FIRST]
#define ER_SAFE(X) (((X) >= ER_ERROR_FIRST && (X) <= ER_ERROR_LAST) ? ER(X) : "Invalid error code")