Remove all traces of __CYGWIN_USE_BIG_TYPES__.
* include/cygwin/config.h: Move Cygwin-specific build flags from newlib's sys/config.h here. Add a comment.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* sys/sysmacros.h
|
||||
|
||||
Copyright 1998, 2001 Red Hat, Inc.
|
||||
Copyright 1998, 2001, 2010 Red Hat, Inc.
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
@@ -11,14 +11,8 @@ details. */
|
||||
#ifndef _SYS_SYSMACROS_H
|
||||
#define _SYS_SYSMACROS_H
|
||||
|
||||
#ifdef __CYGWIN_USE_BIG_TYPES__
|
||||
#define major(dev) ((int)(((dev) >> 16) & 0xffff))
|
||||
#define minor(dev) ((int)((dev) & 0xffff))
|
||||
#define makedev(major, minor) (((major) << 16) | ((minor) & 0xffff))
|
||||
#else
|
||||
#define major(dev) ((int)(((dev) >> 8) & 0xff))
|
||||
#define minor(dev) ((int)((dev) & 0xff))
|
||||
#define makedev(major, minor) (((major) << 8) | ((minor) & 0xff))
|
||||
#endif
|
||||
|
||||
#endif /* _SYS_SYSMACROS_H */
|
||||
|
Reference in New Issue
Block a user