patch-2.1.14 linux/include/linux/ucdrom.h
Next file: linux/include/net/addrconf.h
Previous file: linux/include/linux/sockios.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sun Dec 1 11:01:02 1996
- Orig file:
v2.1.13/linux/include/linux/ucdrom.h
- Orig date:
Fri Nov 22 18:28:21 1996
diff -u --recursive --new-file v2.1.13/linux/include/linux/ucdrom.h linux/include/linux/ucdrom.h
@@ -82,9 +82,8 @@
#define CDO_CHECK_TYPE 0x10 /* check type on open for data */
/* Special codes for specifying changer slots. */
-#include <limits.h>
-#define CDSL_NONE INT_MAX-1
-#define CDSL_CURRENT INT_MAX
+#define CDSL_NONE ((int) (~0U>>1)-1)
+#define CDSL_CURRENT ((int) (~0U>>1))
/* Some more ioctls to control these options */
#define CDROM_SET_OPTIONS 0x5320
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov