summaryrefslogtreecommitdiff
path: root/mysys/my_static.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-11-09 13:26:46 +0200
committermonty@hundin.mysql.fi <>2002-11-09 13:26:46 +0200
commitb0fae584b98e4f498cd63d1002c816f8a4be5afb (patch)
treedc4bb2a2343e6494e99b3429fc1247fa2dd18281 /mysys/my_static.c
parente08ed8a582992beb940bab54e4ffa1d7bbd8d75c (diff)
downloadmariadb-git-b0fae584b98e4f498cd63d1002c816f8a4be5afb.tar.gz
Portability fixes for HP compiler and HPUX11
Diffstat (limited to 'mysys/my_static.c')
-rw-r--r--mysys/my_static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_static.c b/mysys/my_static.c
index 1eb6220f185..bbf7582a454 100644
--- a/mysys/my_static.c
+++ b/mysys/my_static.c
@@ -60,7 +60,7 @@ USED_MEM* my_once_root_block=0; /* pointer to first block */
uint my_once_extra=ONCE_ALLOC_INIT; /* Memory to alloc / block */
/* from my_tempnam */
-#ifndef HAVE_TEMPNAM
+#if !defined(HAVE_TEMPNAM) || defined(HPUX11)
int _my_tempnam_used=0;
#endif