Skip to content

Commit

Permalink
HP-UX support
Browse files Browse the repository at this point in the history
Learned from #39
  • Loading branch information
ibara committed Jun 24, 2020
1 parent 4578528 commit 5bbd418
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions portable.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
#define _PW_NAME_LEN MAXLOGNAME
#elif defined(__sun)
#define _PW_NAME_LEN LOGNAME_MAX
#elif defined(__hpux)
#define _PW_NAME_LEN 8
#else
#define _PW_NAME_LEN MAXLOGNAME - 1
#endif /* __linux__ || __CYGWIN__ || _AIX || __NetBSD__ || __sun || __midipix__ || __HAIKU__ */
Expand Down

0 comments on commit 5bbd418

Please sign in to comment.