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:
commit
84241b40a9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue