Skip to content

Commit

Permalink
disable shlobj.h warning 4091
Browse files Browse the repository at this point in the history
  • Loading branch information
nu774 committed May 11, 2017
1 parent 2082aa1 commit a6d2a07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
#include "metadata.h"
#include "expand.h"
#include <cctype>
#pragma warning(push)
#pragma warning(disable: 4091)
#include <shlobj.h>
#pragma warning(pop)
#include <mlang.h>

namespace misc
Expand Down
3 changes: 3 additions & 0 deletions win32util.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
#endif
#include <windows.h>
#include <shlwapi.h>
#pragma warning(push)
#pragma warning(disable: 4091)
#include <shlobj.h>
#pragma warning(pop)
#include "util.h"

#define HR(expr) (void)(win32::throwIfError((expr), #expr))
Expand Down

0 comments on commit a6d2a07

Please sign in to comment.