fix link on osx

This commit is contained in:
Mathieu Lacage
2009-05-29 14:44:12 +02:00
parent 8470920dd1
commit bf0c6fa9db
2 changed files with 9 additions and 4 deletions

View File

@@ -27,6 +27,11 @@ namespace ns3 {
NS_OBJECT_ENSURE_REGISTERED (YansErrorRateModel);
#ifndef ENABLE_GSL
const double YansErrorRateModel::WLAN_SIR_PERFECT = 10.0;
const double YansErrorRateModel::WLAN_SIR_IMPOSSIBLE = 0.1;
#endif
TypeId
YansErrorRateModel::GetTypeId (void)
{

View File

@@ -100,11 +100,11 @@ private:
#ifdef ENABLE_GSL
double SymbolErrorProb16Cck (double e2) const; /// equation (18) in Pursley's paper
double SymbolErrorProb256Cck (double e1) const; /// equation (17) in Pursley's paper
#endif
#else
private:
static const double WLAN_SIR_PERFECT = 10.0;
static const double WLAN_SIR_IMPOSSIBLE = 0.1;
static const double WLAN_SIR_PERFECT;
static const double WLAN_SIR_IMPOSSIBLE;
#endif
};