From 5ed5f9668ada2ae4d1748d247592a467a4c68b4e Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 6 Feb 2008 12:21:48 +0000 Subject: [PATCH] DEVEL15-hpux-dafs-inline-functions-20080206 LICENSE IPL10 fix this for hpux (cherry picked from commit 0254b1a8810c3ef9692c0c77f9851b563ea70832) --- src/vol/vnode_inline.h | 4 +++- src/vol/volume_inline.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/vol/vnode_inline.h b/src/vol/vnode_inline.h index 73045c9bdd..07d2786b12 100644 --- a/src/vol/vnode_inline.h +++ b/src/vol/vnode_inline.h @@ -12,7 +12,9 @@ #include "vnode.h" -#ifdef AFS_AIX_ENV +#ifdef AFS_HPUX_ENV +#define static_inline static __inline +#elif defined(AFS_AIX_ENV) #define static_inline inline #else #define static_inline static inline diff --git a/src/vol/volume_inline.h b/src/vol/volume_inline.h index 9da0586548..cb3ca323e1 100644 --- a/src/vol/volume_inline.h +++ b/src/vol/volume_inline.h @@ -12,7 +12,9 @@ #include "volume.h" -#ifdef AFS_AIX_ENV +#ifdef AFS_HPUX_ENV +#define static_inline static __inline +#elif defined(AFS_AIX_ENV) #define static_inline inline #else #define static_inline static inline