Skip to content

Commit

Permalink
Fix MSVC compatibility, again
Browse files Browse the repository at this point in the history
  • Loading branch information
slak44 committed Nov 28, 2016
1 parent 7fa7e7b commit f4934a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/llvm/compiler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@ friend class OperatorCodegen;
};

#ifdef _MSC_VER
#define __attribute__
#define unused
#define __attribute__(attr)
#endif

/// Used to generate IR for operators
Expand Down

0 comments on commit f4934a4

Please sign in to comment.