  We consider the Riemann Mapping Theorem in the case of a bounded simply
connected and semianalytic domain. We show that the germ at 0 of the Riemann
map (i.e. biholomorphic map) from the upper half plane to such a domain can be
realized in a certain quasianalytic class if the angle of the boundary at the
point to which 0 is mapped, is greater than 0. This quasianalytic class was
introduced and used by Ilyashenko in his work on Hilbert's 16th problem. With
this result we can prove that the Riemann map from a bounded simply connected
semianalytic domain onto the unit ball is definable in an o-minimal structure,
provided that at singular boundary points the angles of the boundary are
irrational multiples of $\pi$.
