I've been thinking, and we still need the arch directory - it's job is
just slightly different now. It basically picks up the slack from where
NSPR is lacking. so, anything that we need and isn't present on a given
platform (like scandir or rint) and/or things that nspr doesn't provide
(like a way to get the name of the user's timezone) should be put in
there.
In cases where it makes sense, we should just implement the function in
terms of nspr (as in the revised Scandir function), and in cases where
it doesn't, we'll need configure tests and ifdefs.
the goal should be to have no #ifdefs in native code. while this may not
be completely possible, it's a nice goal to shoot for.
Chris