Compile fix for major
This commit is contained in:
parent
3ef1d71b75
commit
ae5ba10b9e
@ -32,8 +32,10 @@
|
|||||||
|
|
||||||
#include "de.h"
|
#include "de.h"
|
||||||
|
|
||||||
|
#ifndef major
|
||||||
#define major(x) ( (x>>8) & 0377)
|
#define major(x) ( (x>>8) & 0377)
|
||||||
#define minor(x) (x & 0377)
|
#define minor(x) (x & 0377)
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************/
|
/****************************************************************/
|
||||||
/* Code for handling termcap */
|
/* Code for handling termcap */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user