summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <mskold@mysql.com>2005-03-15 22:19:55 +0100
committerunknown <mskold@mysql.com>2005-03-15 22:19:55 +0100
commit4ff085f2a25b560bc77b43c34f42f0192be8631c (patch)
tree5a625581e79ec510f7f382ddafcc5ce4e8525730 /ndb
parentf56889321f9062f4b9af4664a9a8387a21534354 (diff)
downloadmariadb-git-4ff085f2a25b560bc77b43c34f42f0192be8631c.tar.gz
Fix for bug#9166: Cluster compile failure on Solaris 10
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/common/util/basestring_vsnprintf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ndb/src/common/util/basestring_vsnprintf.c b/ndb/src/common/util/basestring_vsnprintf.c
index 58203e33bd1..f5d01fb1532 100644
--- a/ndb/src/common/util/basestring_vsnprintf.c
+++ b/ndb/src/common/util/basestring_vsnprintf.c
@@ -14,8 +14,10 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+#ifdef __sgi
/* define on IRIX to get posix compliant vsnprintf */
#define _XOPEN_SOURCE 500
+#endif
#include <stdio.h>
#include <basestring_vsnprintf.h>
#include <my_config.h>