mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-11-14 10:39:05 +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;
|
||||
|
|
|
@ -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