Skip to content

Commit

Permalink
Fix for Windows phone 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Feb 21, 2016
1 parent 2e94305 commit f936e4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Src/ScreenGrab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ namespace
auto_delete_file& operator=(const auto_delete_file&) DIRECTX_CTOR_DELETE;
};

#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP) || (_WIN32_WINNT > _WIN32_WINNT_WIN8)

class auto_delete_file_wic
{
public:
Expand All @@ -91,6 +93,8 @@ namespace
auto_delete_file_wic(const auto_delete_file_wic&) DIRECTX_CTOR_DELETE;
auto_delete_file_wic& operator=(const auto_delete_file_wic&) DIRECTX_CTOR_DELETE;
};

#endif
}

//--------------------------------------------------------------------------------------
Expand Down

0 comments on commit f936e4c

Please sign in to comment.