- only define PACKED if it's not already defined, since in Cygwin it's

already defined.
This commit is contained in:
Bryce Denney 2001-06-25 12:52:37 +00:00
parent 9da6c1f199
commit 9577b4277c
1 changed files with 14 additions and 1 deletions

View File

@ -1,9 +1,22 @@
//
// iodev/aspi-win32.h
// $Id: aspi-win32.h,v 1.2 2001-06-25 12:52:37 bdenney Exp $
//
// This file was copied from cdrecord 1.9 under libscg/scg/aspi-win32.h.
// The only modification is related to use of the PACKED keyword.
//
#ifndef __ASPI_WIN32_H_
#define __ASPI_WIN32_H_
#include <windows.h>
#define PACKED
#ifndef PACKED
// It seems that VC++ has no PACKED keyword but Cygwin does. We can just
// define PACKED to be empty if it's not already defined by the system
// headers.
#define PACKED /* empty */
#endif
/***************************************************************************
** SCSI MISCELLANEOUS EQUATES