Skip to content

Commit

Permalink
SERVER-6572 - fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Aug 8, 2012
1 parent a3dd871 commit f69d15b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mongo/db/record.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ namespace mongo {
static const size_t superpageMask = ~0xffffLL;
static const size_t superpageShift = 16;
static const size_t pageSelectorMask = 0xf000LL; // selects a page in a superpage
static const size_t pageSelectorShift = 12;
static const int pageSelectorShift = 12;

// Tunables
static const int capacity = 128; // in superpages
Expand Down Expand Up @@ -301,7 +301,7 @@ namespace mongo {
return &_pointerTableData;
}
#elif defined(_WIN32)
__declspec( thread ) ps::PointerTable::Data _pointerTable;
__declspec( thread ) ps::PointerTable::Data _pointerTableData;
ps::PointerTable::Data* ps::PointerTable::getData() {
return &_pointerTableData;
}
Expand Down

0 comments on commit f69d15b

Please sign in to comment.