Commit 414b1419 authored by Peng Tao's avatar Peng Tao Committed by Greg Kroah-Hartman

staging/lustre: remove __CYGWIN__

Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: default avatarPeng Tao <bergwolf@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6be96847
......@@ -175,12 +175,6 @@ extern int lwt_snapshot (cfs_cycles_t *now, int *ncpu, int *total_size,
/* ------------------------------------------------------------------ */
#ifdef __CYGWIN__
# ifndef BITS_PER_LONG
# define BITS_PER_LONG 64
# endif
#endif
# define LI_POISON 0x5a5a5a5a
#if BITS_PER_LONG > 32
# define LL_POISON 0x5a5a5a5a5a5a5a5aL
......
......@@ -383,14 +383,6 @@ typedef enum {
typedef unsigned LNET_SEQ_BASETYPE lnet_seq_t;
#define LNET_SEQ_GT(a,b) (((signed LNET_SEQ_BASETYPE)((a) - (b))) > 0)
/* XXX
* cygwin need the pragma line, not clear if it's needed in other places.
* checking!!!
*/
#ifdef __CYGWIN__
#pragma pack(push, 4)
#endif
/**
* Information about an event on a MD.
*/
......@@ -462,9 +454,6 @@ typedef struct {
*/
volatile lnet_seq_t sequence;
} lnet_event_t;
#ifdef __CYGWIN__
#pragma pop
#endif
/**
* Event queue handler function type.
......
......@@ -46,10 +46,6 @@
#include <obd_ost.h>
#include <obd_lov.h>
#ifdef __CYGWIN__
# include <ctype.h>
#endif
#include <lustre_ha.h>
#include <lprocfs_status.h>
#include <lustre_log.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment