aboutsummaryrefslogtreecommitdiff
path: root/crypto/compat/arc4random.h
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2014-12-08 11:08:45 +0900
committerBrent Cook <busterb@gmail.com>2015-01-06 17:47:16 -0600
commit0308b63cbf9983a9bcddc2794b1c9fa0d92f18ac (patch)
tree778a1d147f6719016103fa04aa36bbf53526a804 /crypto/compat/arc4random.h
parent4b7e78153c47ae08420558e7e6d8b0bc2591039c (diff)
downloadportable-0308b63cbf9983a9bcddc2794b1c9fa0d92f18ac.tar.gz
portable-0308b63cbf9983a9bcddc2794b1c9fa0d92f18ac.tar.bz2
portable-0308b63cbf9983a9bcddc2794b1c9fa0d92f18ac.zip
Add support for HP-UX
tested on: HP-UX 11.31 ia64, gcc 4.7.1(HP AllianceOne version) gcc 4.2.3(http://hpux.connect.org.uk) HP C/aC++ HP-UX defaults to use LP32 and it treats long as 32 bit (= 4 bytes). This build forces LP64 for treating long as 64 bit.
Diffstat (limited to 'crypto/compat/arc4random.h')
-rw-r--r--crypto/compat/arc4random.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/compat/arc4random.h b/crypto/compat/arc4random.h
index 53b5a46..ed812ba 100644
--- a/crypto/compat/arc4random.h
+++ b/crypto/compat/arc4random.h
@@ -6,6 +6,9 @@
6#if defined(__FreeBSD__) 6#if defined(__FreeBSD__)
7#include "arc4random_freebsd.h" 7#include "arc4random_freebsd.h"
8 8
9#elif defined(__hpux)
10#include "arc4random_hpux.h"
11
9#elif defined(__linux__) 12#elif defined(__linux__)
10#include "arc4random_linux.h" 13#include "arc4random_linux.h"
11 14