add make CONF=pthread for modern systems

This commit is contained in:
Russ Cox
2008-12-09 07:05:09 +00:00
parent 189f67ae9b
commit 4f14409f56
11 changed files with 590 additions and 3 deletions

View File

@@ -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)