Fix build on z/OS using XLC (#1089)

* Fix incorrect XLC #pragma in public header

* Fix incorrect XLC #pragma in internal blake2 header
This commit is contained in:
infinitydev
2021-07-09 15:38:07 +02:00
committed by GitHub
parent 6cd2677d44
commit b9b66faddb
2 changed files with 2 additions and 2 deletions
@@ -61,7 +61,7 @@ typedef struct blake2b_state {
uint8_t last_node;
} blake2b_state;
#if defined(__IBMC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
#pragma pack()
#else
#pragma pack(pop)
@@ -24,7 +24,7 @@ typedef struct CRYPTO_ALIGN(64) crypto_generichash_blake2b_state {
unsigned char opaque[384];
} crypto_generichash_blake2b_state;
#if defined(__IBMC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
# pragma pack()
#else
# pragma pack(pop)