Daniel Dunbar | 86f9994 | 2011-12-08 02:39:23 +0000 | [diff] [blame] | 1 | /* ===-- unistd.h - stub SDK header for compiler-rt -------------------------=== |
| 2 | * |
| 3 | * The LLVM Compiler Infrastructure |
| 4 | * |
| 5 | * This file is dual licensed under the MIT and the University of Illinois Open |
| 6 | * Source Licenses. See LICENSE.TXT for details. |
| 7 | * |
| 8 | * ===-----------------------------------------------------------------------=== |
| 9 | * |
| 10 | * This is a stub SDK header file. This file is not part of the interface of |
| 11 | * this library nor an official version of the appropriate SDK header. It is |
| 12 | * intended only to stub the features of this header required by compiler-rt. |
| 13 | * |
| 14 | * ===-----------------------------------------------------------------------=== |
| 15 | */ |
| 16 | |
| 17 | #ifndef __UNISTD_H__ |
| 18 | #define __UNISTD_H__ |
| 19 | |
| 20 | enum { |
| 21 | _SC_PAGESIZE = 30 |
| 22 | }; |
| 23 | |
| 24 | extern long int sysconf (int __name) __attribute__ ((__nothrow__)); |
| 25 | |
| 26 | #endif /* __UNISTD_H__ */ |