Commit Graph

4 Commits

Author SHA1 Message Date
Kai Pastor
ea91673467
[rhash] Fix error, revise dllexport/dllimport (#36950)
Pass `RHASH_XVERSION` as a number number, not as a string. General
error, but detected by Android NDK r26
~~~

vcpkg/buildtrees/rhash/src/v1.4.4-e609ae2b07.clean/librhash/rhash.c:877:10:
error: incompatible pointer to integer conversion returning 'char[1]'
from a function with result type 'rhash_uptr_t' (aka 'unsigned int')
[-Wint-conversion]
                return RHASH_XVERSION;
                       ^~~~~~~~~~~~~~
<command line>:2:24: note: expanded from macro 'RHASH_XVERSION'
#define RHASH_XVERSION ""
                       ^~
1 error generated.
~~~

Complement `dllexport` with `dllimport` for shared windows, and omit it
everywhere else.

Add missing pc file as if installed with official build system.
2024-02-28 17:12:10 -08:00
Cheney Wang
d6541fff4b
[rhash] Add target include directories and export unofficial config.cmake (#25171)
Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2022-06-10 10:54:05 -07:00
Lily
9d2f4a59b3
[rhash] Update to the latest version (#13658) 2020-11-05 18:24:53 -08:00
codicodi
c4e4ba6418 [rhash] new port 2017-08-24 17:37:06 +02:00