*
* $Id: q_shift.inc,v 1.3 2006/09/15 09:35:16 mclareni Exp $
*
* $Log: q_shift.inc,v $
* Revision 1.3  2006/09/15 09:35:16  mclareni
* Submitted mods for gcc4/gfortran and MacOSX, corrected to work also on slc4 with gcc3.4 and 4.1
*
* Revision 1.2  1996/03/05 17:04:19  cernlib
* Replace #else by elif 1 ( for SGI cpp )
*
* Revision 1.1.1.1  1996/02/15 17:49:19  mclareni
* Kernlib
*
*
*
* q_shift.inc
*
#if defined(CERNLIB_QMSUN)&&defined(CERNLIB_BUGLRSHFT)
      ISHFTL (IZW,NZB) = LSHIFT (IZW, NZB)
      ISHFTR (IZW,NZB) = ishft (IZW, -NZB)
#elif defined(CERNLIB_QMSUN)&&(!defined(CERNLIB_BUGLRSHFT))
      ISHFTL (IZW,NZB) = LSHIFT (IZW, NZB)
      ISHFTR (IZW,NZB) = lrshft (IZW, NZB)
#elif defined(CERNLIB_QMDOS)&&defined(CERNLIB_QF_F2C)
C--
C--    Note: F2C-ish RSHIFT is arithmetic right shift.
C--          This means sign bits are shifted in at the high end
C
       ISHFTL(IZW,NZB) = LSHIFT(IZW,NZB)
C       ISHFTR(IZW,NZB) = RSHIFT(IZW,NZB)
C       ISHFT(IZW,NZB)  = LSHIFT(IZW,NZB)
#elif defined(CERNLIB_QMLNX) && !defined(CERNLIB_GFORTRAN)
      ISHFTL (IZW,NZB) = LSHIFT (IZW,NZB)
#elif 1
      ISHFTL (IZW,NZB) = ISHFT (IZW,  NZB)
      ISHFTR (IZW,NZB) = ISHFT (IZW, -NZB)
#endif
