Use || instead of | in a #if check

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4619 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
ludovic.rousseau 2010-07-30 07:09:15 +00:00
parent a8c438fde1
commit c7a99c2e03
1 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ typedef LONG (PCSC_API *SCardGetAttrib_t)(SCARDHANDLE hCard, DWORD dwAttrId,\
/* Set structure elements aligment on bytes
* http://gcc.gnu.org/onlinedocs/gcc/Structure_002dPacking-Pragmas.html */
#if defined(__APPLE__) | defined(sun)
#if defined(__APPLE__) || defined(sun)
#pragma pack(1)
#else
#pragma pack(push, 1)
@ -268,7 +268,7 @@ typedef struct {
} PIN_PROPERTIES_STRUCTURE;
/* restore default structure elements alignment */
#if defined(__APPLE__) | defined(sun)
#if defined(__APPLE__) || defined(sun)
#pragma pack()
#else
#pragma pack(pop)