summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <elliot@mysql.com>2006-04-14 10:36:36 -0400
committerunknown <elliot@mysql.com>2006-04-14 10:36:36 -0400
commit6b44b419c56606c9ee4e093c5e28deb6d123c06c (patch)
treea3e9a3202ce2b5538511241cb864532542a4dfdb
parent3d185d7935f6b70e43880488a2a7d4e16701d2e7 (diff)
downloadmariadb-git-6b44b419c56606c9ee4e093c5e28deb6d123c06c.tar.gz
Fixing HP-UX and AIX builds.
unittest/mytap/tap.h: Handle __attribute__ more portably, fixing builds for HP-UX and AIX.
-rw-r--r--unittest/mytap/tap.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/unittest/mytap/tap.h b/unittest/mytap/tap.h
index 53023e83028..cc1d0926012 100644
--- a/unittest/mytap/tap.h
+++ b/unittest/mytap/tap.h
@@ -21,9 +21,7 @@
#ifndef TAP_H
#define TAP_H
-#ifndef __GNUC__
-#define __attribute__(F)
-#endif
+#include "my_global.h"
/*
@defgroup MyTAP MySQL support for performing unit tests according to TAP.