Placate all the compilers. Ugly.
[beanstalkd.git] / primes.h
blob46b9252a6c4778566d2e46843428d24ce245622b
1 /* primes.h - exponentially increasing primes */
3 /* Copyright (C) 2008 Keith Rarick and Philotic Inc.
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #include <stdlib.h>
21 #if _LP64
22 #define NUM_PRIMES 48
23 #else
24 #define NUM_PRIMES 19
25 #endif
27 extern size_t primes[];