[PATCH] Add definition for M_PI