Show
Ignore:
Timestamp:
06/18/08 03:53:18 (10 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1213761198 +0000
git-parent:

[ab6d943800276f521272e785e85b9ea7130e92f1]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1213761198 +0000
Message:

I sure hope this doesn't break other platforms too badly. Solaris support sans the eventer... untested, of course. refs #32.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_defines.h

    ra504323 rc4546c7  
    5555#endif 
    5656 
     57#ifndef MIN 
     58#define MIN(x,y)  ((x) < (y) ? (x) : (y)) 
    5759#endif 
     60#ifndef MAX 
     61#define MAX(x,y)  ((x) > (y) ? (x) : (y)) 
     62#endif 
     63#ifndef SUN_LEN 
     64#define SUN_LEN(ptr) (sizeof(*(ptr)) - sizeof((ptr)->sun_path) + strlen((ptr)->sun_path)) 
     65#endif 
     66 
     67#endif