diff options
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/random.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/comphelper/random.hxx b/include/comphelper/random.hxx index 7c149fbe8cd9..3b1fabb3f7aa 100644 --- a/include/comphelper/random.hxx +++ b/include/comphelper/random.hxx @@ -32,14 +32,10 @@ COMPHELPER_DLLPUBLIC double uniform_real_distribution(double a = 0.0, double b = 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 +COMPHELPER_DLLPUBLIC unsigned int uniform_uint_distribution(unsigned int a, unsigned int b); /// uniform distribution in [a,b] -COMPHELPER_DLLPUBLIC size_t uniform_int_distribution(size_t a, size_t b); - -#endif +COMPHELPER_DLLPUBLIC size_t uniform_size_distribution(size_t a, size_t b); } // namespace |