mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-23 21:25:49 +00:00
fix sprout::enabler (Issue #71)
This commit is contained in:
parent
8dc640a6e2
commit
77df3b80e2
3 changed files with 4 additions and 7 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue