~georgeunix-5/lwan-unofficial/master

« back to all changes in this revision

Viewing changes to src/lib/missing/unistd.h

  • Committer: Leandro Pereira
  • Date: 2019-02-19 03:26:42 UTC
  • Revision ID: git-v1:e188156997a13a08d6703f77039893cc27e070c7
Don't bother queueing readahead()/madvise() less than a page

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
#include <sys/random.h>
48
48
#endif
49
49
 
 
50
#ifndef _SC_PAGESIZE
 
51
# ifdef PAGESIZE
 
52
#  define _SC_PAGESIZE PAGESIZE
 
53
# else
 
54
#  define _SC_PAGESIZE -1
 
55
# endif
 
56
#endif
 
57
 
50
58
#endif /* MISSING_UNISTD_H */