2
0
Fork 0
mirror of https://git.sr.ht/~sircmpwn/mkproof synced 2024-05-28 05:36:12 +02:00

Merge pull request #282 from pks-t/pks/win32-undefined-error

Fix possible compiler error due to undefined _MSC_VER
This commit is contained in:
Dmitry Khovratovich 2020-04-06 16:53:57 +02:00 committed by GitHub
commit 84241b40a9
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ extern "C" {
#ifdef A2_VISCTL
#define ARGON2_PUBLIC __attribute__((visibility("default")))
#define ARGON2_LOCAL __attribute__ ((visibility ("hidden")))
#elif _MSC_VER
#elif defined(_MSC_VER)
#define ARGON2_PUBLIC __declspec(dllexport)
#define ARGON2_LOCAL
#else