summaryrefslogtreecommitdiff
path: root/mysys/my_tempnam.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-11-09 13:26:46 +0200
committerunknown <monty@hundin.mysql.fi>2002-11-09 13:26:46 +0200
commita197007142ddd9316cef490673435cb1c90a71dd (patch)
treedc4bb2a2343e6494e99b3429fc1247fa2dd18281 /mysys/my_tempnam.c
parentf9fde16a8ce40093a325132197182bb16d46be40 (diff)
downloadmariadb-git-a197007142ddd9316cef490673435cb1c90a71dd.tar.gz
Portability fixes for HP compiler and HPUX11
Docs/internals.texi: Added protocol information (needs to be converted to texi and merged with the old documentation) configure.in: Updates for HP compiler (cc) include/my_global.h: Add option to handle bugs in 'inline' for HP compiler libmysql/password.c: Portability fix (for HP compiler) mysys/hash.c: Portability fix (for HP compiler) mysys/my_static.c: Portability fix (for HPUX11) mysys/my_static.h: Portability fix (for HPUX11) mysys/my_tempnam.c: Portability fix (for HPUX11) sql/sql_analyse.cc: Fixed bug in decimal handling
Diffstat (limited to 'mysys/my_tempnam.c')
-rw-r--r--mysys/my_tempnam.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysys/my_tempnam.c b/mysys/my_tempnam.c
index 6c17aa5b165..4fa2dd2abc4 100644
--- a/mysys/my_tempnam.c
+++ b/mysys/my_tempnam.c
@@ -23,6 +23,12 @@
#include "mysys_priv.h"
#include <m_string.h>
+
+/* HPUX 11.0 doesn't allow us to change the environ pointer */
+#ifdef HPUX11
+#undef HAVE_TEMPNAM
+#endif
+
#include "my_static.h"
#include "mysys_err.h"