summaryrefslogtreecommitdiff
path: root/sql/unireg.h
diff options
context:
space:
mode:
authorreggie@poseidon.ndb.mysql.com <>2005-11-07 17:15:23 +0100
committerreggie@poseidon.ndb.mysql.com <>2005-11-07 17:15:23 +0100
commit473dac3541fb62927d28c31e9f7ab2efb2ba4173 (patch)
treea7e98f5c30672b93068dfead6dd8ea455d00bb29 /sql/unireg.h
parent98e20c9b4686b862a00b7368915927accf28192d (diff)
downloadmariadb-git-473dac3541fb62927d28c31e9f7ab2efb2ba4173.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")