Skip to content

Commit

Permalink
Windows compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysante committed Jan 31, 2023
1 parent ffe91a0 commit a9ab90d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,10 @@ build/
**.xcworkspace

**/.DS_Store

.vs/

**.vcxproj
**.vcxproj.user
**.vcxproj.filters
**.sln
3 changes: 2 additions & 1 deletion src/APFloat.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "APFloat.h"
#include <APMath/APFloat.h>

#include <cassert>
#include <sstream>

using namespace APMath;
Expand Down
4 changes: 3 additions & 1 deletion src/APInt.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "APInt.h"
#include <APMath/APInt.h>

#include <cassert>
#include <cstdlib>
Expand Down Expand Up @@ -507,10 +507,12 @@ APInt& APInt::ashr(int nb) {

APInt& APInt::rotl(int numBits) {
assert(false);
std::abort();
}

APInt& APInt::rotr(int numBits) {
assert(false);
std::abort();
}

APInt& APInt::negate() {
Expand Down

0 comments on commit a9ab90d

Please sign in to comment.