7 |
|
* G. Ward |
8 |
|
*/ |
9 |
|
|
10 |
< |
#ifndef _WIN32 |
10 |
> |
#if !defined(_WIN32) && !defined(_WIN64) |
11 |
|
#include <unistd.h> |
12 |
|
#include <sys/wait.h> |
13 |
|
#include <sys/mman.h> |
162 |
|
size_t memlen = sizeof(MIGRATION) + |
163 |
|
sizeof(float)*(from_rbf->nrbf*to_rbf->nrbf - 1); |
164 |
|
MIGRATION *newmig; |
165 |
< |
#ifdef _WIN32 |
165 |
> |
#if defined(_WIN32) || defined(_WIN64) |
166 |
|
if (nprocs > 1) |
167 |
|
fprintf(stderr, "%s: warning - multiprocessing not supported\n", |
168 |
|
progname); |
193 |
|
return(mig_list = newmig); |
194 |
|
} |
195 |
|
|
196 |
< |
#ifdef _WIN32 |
196 |
> |
#if defined(_WIN32) || defined(_WIN64) |
197 |
|
#define await_children(n) (void)(n) |
198 |
|
#define run_subprocess() 0 |
199 |
|
#define end_subprocess() (void)0 |
491 |
|
default: |
492 |
|
return; /* else we can interpolate */ |
493 |
|
} |
494 |
< |
for (rbf = near_rbf->next; rbf != NULL; rbf = rbf->next) { |
494 |
> |
for (rbf = dsf_list; rbf != NULL; rbf = rbf->next) { |
495 |
|
const double d = input_orient*rbf->invec[2]; |
496 |
|
if (d >= 1.-2.*FTINY) |
497 |
|
return; /* seems we have normal */ |