X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.cpp;h=555f3c6d0e501fc262036eb5c412083ab642fcf2;hp=12e6b636d0b98be117782d5c20bf6486dfba5cab;hb=187451294f02c2b6424c9679a12c901e336a4180;hpb=09884756d85b16cfb863d00253b12f08b6b7e515 diff --git a/src/tt.cpp b/src/tt.cpp index 12e6b636..555f3c6d 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -25,7 +25,7 @@ #include #include #include -#if defined(USE_PREFETCH) +#if !defined(NO_PREFETCH) # include #endif @@ -166,7 +166,7 @@ TTEntry* TranspositionTable::retrieve(const Key posKey) const { /// to be loaded from RAM, that can be very slow. When we will /// subsequently call retrieve() the TT data will be already /// quickly accessible in L1/L2 CPU cache. -#if !defined(USE_PREFETCH) +#if defined(NO_PREFETCH) void TranspositionTable::prefetch(const Key) const {} #else