summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_append.c2
-rw-r--r--mysys/my_copy.c2
-rw-r--r--mysys/my_pthread.c2
-rw-r--r--mysys/my_redel.c2
-rw-r--r--mysys/thr_alarm.c4
5 files changed, 6 insertions, 6 deletions
diff --git a/mysys/my_append.c b/mysys/my_append.c
index 2e08b4b4c05..dc5ed084bb3 100644
--- a/mysys/my_append.c
+++ b/mysys/my_append.c
@@ -22,7 +22,7 @@
#include <sys/utime.h>
#elif defined(HAVE_UTIME_H)
#include <utime.h>
-#elif !defined(HPUX)
+#elif !defined(HPUX10)
struct utimbuf {
time_t actime;
time_t modtime;
diff --git a/mysys/my_copy.c b/mysys/my_copy.c
index 253608c5306..a899835ea62 100644
--- a/mysys/my_copy.c
+++ b/mysys/my_copy.c
@@ -22,7 +22,7 @@
#include <sys/utime.h>
#elif defined(HAVE_UTIME_H)
#include <utime.h>
-#elif !defined(HPUX)
+#elif !defined(HPUX10)
#include <time.h>
struct utimbuf {
time_t actime;
diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c
index 54a5c71c695..07e8ecec6ac 100644
--- a/mysys/my_pthread.c
+++ b/mysys/my_pthread.c
@@ -435,7 +435,7 @@ int my_pthread_cond_init(pthread_cond_t *mp, const pthread_condattr_t *attr)
this has to be added here.
****************************************************************************/
-#if defined(HPUX) || defined(HAVE_BROKEN_PTHREAD_COND_TIMEDWAIT)
+#if defined(HPUX10) || defined(HAVE_BROKEN_PTHREAD_COND_TIMEDWAIT)
int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
struct timespec *abstime)
diff --git a/mysys/my_redel.c b/mysys/my_redel.c
index 8474dab0d13..b5a79d9454b 100644
--- a/mysys/my_redel.c
+++ b/mysys/my_redel.c
@@ -23,7 +23,7 @@
#include <sys/utime.h>
#elif defined(HAVE_UTIME_H)
#include <utime.h>
-#elif !defined(HPUX)
+#elif !defined(HPUX10)
struct utimbuf {
time_t actime;
time_t modtime;
diff --git a/mysys/thr_alarm.c b/mysys/thr_alarm.c
index d1343d4c2d3..ed468b5ef50 100644
--- a/mysys/thr_alarm.c
+++ b/mysys/thr_alarm.c
@@ -730,11 +730,11 @@ static pthread_cond_t COND_thread_count;
static pthread_mutex_t LOCK_thread_count;
static uint thread_count;
-#ifdef HPUX
+#ifdef HPUX10
typedef int * fd_set_ptr;
#else
typedef fd_set * fd_set_ptr;
-#endif /* HPUX */
+#endif /* HPUX10 */
static void *test_thread(void *arg)
{