Skip to content

Commit

Permalink
common: fixed compile error on mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
rhornig committed May 13, 2015
1 parent f5db839 commit 76851db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/inet/common/figures/GaugeFigure.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ Register_Class(GaugeFigure);

#if OMNETPP_VERSION >= 0x500

#define M_PI 3.14159265358979323846

static const double START_ANGLE = -M_PI/2;
static const double END_ANGLE = M_PI;
static const char *MODULE_NAME_PROPERTY = "moduleName";
Expand Down

0 comments on commit 76851db

Please sign in to comment.