aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/os
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-29 21:45:25 +0000
committerlloyd <[email protected]>2008-09-29 21:45:25 +0000
commit98e89e86beec39c9a789f8dba72dc5746c31943d (patch)
treeb0282892e61fa2930bd20e08d2a940c7adc4d176 /src/build-data/os
parent8157ca69909e59682619822d6d54c9c7e90be406 (diff)
Merge the 3 mlocks (ml_unix, ml_win32, stub mlock.cpp) into a single mlock.cpp
in utils. Support OS feature macros, eg BOTAN_TARGET_OS_HAS_POSIX_MLOCK (how very autoconf)
Diffstat (limited to 'src/build-data/os')
-rw-r--r--src/build-data/os/freebsd4
-rw-r--r--src/build-data/os/linux4
-rw-r--r--src/build-data/os/solaris4
-rw-r--r--src/build-data/os/windows4
4 files changed, 16 insertions, 0 deletions
diff --git a/src/build-data/os/freebsd b/src/build-data/os/freebsd
index e58ade517..ea96b0c88 100644
--- a/src/build-data/os/freebsd
+++ b/src/build-data/os/freebsd
@@ -2,6 +2,10 @@ realname "FreeBSD"
os_type unix
+<target_features>
+posix_mlock
+</target_features>
+
<supports_shared>
all
</supports_shared>
diff --git a/src/build-data/os/linux b/src/build-data/os/linux
index acf224244..53528511a 100644
--- a/src/build-data/os/linux
+++ b/src/build-data/os/linux
@@ -2,6 +2,10 @@ realname "Linux"
os_type unix
+<target_features>
+posix_mlock
+</target_features>
+
# Is this correct?
<supports_shared>
all
diff --git a/src/build-data/os/solaris b/src/build-data/os/solaris
index a1c1b40b3..8610b4898 100644
--- a/src/build-data/os/solaris
+++ b/src/build-data/os/solaris
@@ -2,6 +2,10 @@ realname "Solaris"
os_type unix
+<target_features>
+posix_mlock
+</target_features>
+
<supports_shared>
all
</supports_shared>
diff --git a/src/build-data/os/windows b/src/build-data/os/windows
index 62b271271..823c60d6c 100644
--- a/src/build-data/os/windows
+++ b/src/build-data/os/windows
@@ -12,6 +12,10 @@ doc_dir docs
install_cmd_data copy
install_cmd_exec copy
+<target_features>
+win32_virtual_lock
+</target_features>
+
<supports_shared>
msvc
</supports_shared>