1 /* 2 * This program is free software; you can redistribute it and/or modify 3 * it under the terms of the GNU General Public License version 2. 4 * 5 * This program is distributed in the hope that it will be useful, 6 * but WITHOUT ANY WARRANTY; without even the implied warranty of 7 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 8 * GNU General Public License for more details. 9 * 10 * Test that the header defines the POSIX_MADV_DONTNEED symbolic value. 11 * 12 * @pt:ADV 13 * @pt:MF 14 * @pt:SHM 15 */ 16 17 #include <sys/mman.h> 18 19 #ifndef POSIX_MADV_DONTNEED 20 #error POSIX_MADV_DONTNEED not defined 21 #endif 22