fix sprout::enabler (Issue #71)

This commit is contained in:
bolero-MURAKAMI 2016-04-05 18:31:47 +09:00
parent 8dc640a6e2
commit 77df3b80e2
3 changed files with 4 additions and 7 deletions

View file

@ -24,7 +24,7 @@
//
// PE structs
// Copy an Paste from <windows.h>
// Copy and Paste from <windows.h>
//
typedef unsigned long DWORD;
typedef int BOOL;

View file

@ -16,9 +16,9 @@ namespace sprout {
namespace compost {
//
// rosenberg_value
// Rosenberg wave is asymmetric waveform,
// expansion period/reduction period of the glottis is 40%/16% of the cycle,
// tau1 is expansion period, tau2 is reduction period
// Rosenberg wave is asymmetric waveform,
// expansion period/reduction period of the glottis is 40%/16% of the cycle,
// tau1 is expansion period, tau2 is reduction period
//
template<typename T>
inline SPROUT_CONSTEXPR typename sprout::float_promote<T>::type

View file

@ -17,13 +17,10 @@ namespace sprout {
// enabler
//
typedef void* enabler_t;
#if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
namespace {
SPROUT_STATIC_CONSTEXPR sprout::enabler_t enabler = {};
} // anonymous-namespace
#else
extern enabler_t enabler;
#endif
//
// enabler_if
//