summaryrefslogtreecommitdiff
path: root/include/comphelper/random.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-06 15:26:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-06 15:28:27 +0100
commitde78b2ca3c24a822ad9b8456323b9d2210ae0487 (patch)
treecd7fb407375c38049dfd65be703d05ac55b396ce /include/comphelper/random.hxx
parent2c6d17b02529f0bc8bfcb1fc16f9e1481ea71829 (diff)
when size_t == unsigned int
Change-Id: If8cd3632d69f6456b0e1351efac0e428e0093e3b
Diffstat (limited to 'include/comphelper/random.hxx')
-rw-r--r--include/comphelper/random.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/comphelper/random.hxx b/include/comphelper/random.hxx
index e7051a860403..7c149fbe8cd9 100644
--- a/include/comphelper/random.hxx
+++ b/include/comphelper/random.hxx
@@ -34,9 +34,13 @@ COMPHELPER_DLLPUBLIC int uniform_int_distribution(int a, int b);
/// uniform distribution in [a,b]
COMPHELPER_DLLPUBLIC unsigned int uniform_int_distribution(unsigned int a, unsigned int b);
+#if SAL_TYPES_SIZEOFLONG == 8
+
/// uniform distribution in [a,b]
COMPHELPER_DLLPUBLIC size_t uniform_int_distribution(size_t a, size_t b);
+#endif
+
} // namespace
} // namespace