Skip to content

Commit

Permalink
Merge pull request #2922 from zeromq/revert-2920-work/fix-icl-build
Browse files Browse the repository at this point in the history
Revert "Problem: Windows Intel compiler build broken"
  • Loading branch information
bluca authored Feb 4, 2018
2 parents c43c879 + 08cc22a commit 3bcbd65
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/zmq.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,14 @@ ZMQ_EXPORT int zmq_ctx_destroy (void *context);
* zmq_msg_t on addresses aligned on a pointer-size boundary to avoid this issue.
*/
typedef struct zmq_msg_t {
#if defined (_MSC_VER) && (defined (_M_X64) || defined (_M_ARM64))
__declspec (align (8)) unsigned char _ [64];
#elif defined (_MSC_VER) && (defined (_M_IX86) || defined (_M_ARM_ARMV7VE))
__declspec (align (4)) unsigned char _ [64];
#elif defined (__GNUC__) || defined ( __INTEL_COMPILER) || \
#if defined (__GNUC__) || defined ( __INTEL_COMPILER) || \
(defined (__SUNPRO_C) && __SUNPRO_C >= 0x590) || \
(defined (__SUNPRO_CC) && __SUNPRO_CC >= 0x590)
unsigned char _ [64] __attribute__ ((aligned (sizeof (void *))));
#elif defined (_MSC_VER) && (defined (_M_X64) || defined (_M_ARM64))
__declspec (align (8)) unsigned char _ [64];
#elif defined (_MSC_VER) && (defined (_M_IX86) || defined (_M_ARM_ARMV7VE))
__declspec (align (4)) unsigned char _ [64];
#else
unsigned char _ [64];
#endif
Expand Down

0 comments on commit 3bcbd65

Please sign in to comment.