Skip to content
Snippets Groups Projects
Commit 4d6b99a7 authored by Olivier SOLDANO's avatar Olivier SOLDANO Committed by Anthony Léonard
Browse files

add macro redefinitions wrap because of windows.h


the usual suspect has stroke again! we use the pragmas
to undefine locally the leaking macros of windows.h

Change-Id: I838db4fb994c8cf05dd7830b684e6840745dffe4
Reviewed-by: default avatarAnthony Léonard <anthony.leonard@savoirfairelinux.com>
parent 4eb36a24
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,9 @@ enum class Type {
SIP
};
#pragma push_macro("REGISTERED")
#undef REGISTERED
enum class Status {
INVALID,
INITIALIZING,
......@@ -68,6 +71,8 @@ to_status(const std::string& type)
return account::Status::INVALID;
}
#pragma pop_macro("REGISTERED")
struct Info
{
std::string id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment