Skip to content

Commit

Permalink
Merge pull request #72 from kaleidicassociates/John-Colvin-patch-1
Browse files Browse the repository at this point in the history
Fix DLLMainDefined check
  • Loading branch information
atilaneves authored Mar 26, 2019
2 parents aa308cd + 7bfc43b commit e6a6ce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reflection/source/autowrap/common.d
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ module autowrap.common;
public string dllMainMixinStr() @safe pure {
return q{

static if (!DllMainDefined) {
enum DllMainDefined = true;
static if (!is(DllMainDefined)) {
enum DllMainDefined;

import core.sys.windows.windows: HINSTANCE, BOOL, ULONG, LPVOID;

Expand Down

0 comments on commit e6a6ce2

Please sign in to comment.