add make CONF=pthread for modern systems
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
typedef struct Cursor Cursor;
|
||||
|
||||
#undef long
|
||||
#define Font XFont
|
||||
#define Screen XScreen
|
||||
#define Display XDisplay
|
||||
@@ -31,6 +32,7 @@ typedef struct Cursor Cursor;
|
||||
#undef Screen
|
||||
#undef Display
|
||||
#undef Cursor
|
||||
#define long int
|
||||
|
||||
/* perfect approximation to NTSC = .299r+.587g+.114b when 0 ≤ r,g,b < 256 */
|
||||
#define RGB2K(r,g,b) ((156763*(r)+307758*(g)+59769*(b))>>19)
|
||||
|
Reference in New Issue
Block a user