mfbt/Constants.h
author Sergey Glushchenko <gsserge@gmail.com>
Mon, 06 Aug 2012 13:32:11 -0700
changeset 101572 6beb523ebcb572d9f09b3416c2bf39dec2507540
child 139679 f55906cadf07a9ef44cc4ce2574fe35f3dc85672
permissions -rw-r--r--
Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* mfbt math constants. */

#ifndef mozilla_Constants_h_
#define mozilla_Constants_h_

#ifndef M_PI
#  define M_PI 3.14159265358979323846
#endif

#endif  /* mozilla_Constants_h_ */