|
|
#include "FreeImage.h" | #include "FreeImage.h" |
#include "Utilities.h" | #include "Utilities.h" |
| |
|
#ifndef MIN |
|
#define MIN(a,b) (a <= b ? a : b) |
|
#endif |
|
|
// ---------------------------------------------------------- | // ---------------------------------------------------------- |
// Constants + headers | // Constants + headers |
// ---------------------------------------------------------- | // ---------------------------------------------------------- |
|
|
} | } |
| |
// remember that we've visited this directory so that we don't visit it again later | // remember that we've visited this directory so that we don't visit it again later |
DWORD visited = (((DWORD)ifdp & 0xFFFF) << 16) | (DWORD)de; |
DWORD visited = (((size_t)ifdp & 0xFFFF) << 16) | (DWORD)de; |
if(visitedIFD.find(visited) != visitedIFD.end()) { | if(visitedIFD.find(visited) != visitedIFD.end()) { |
continue; | continue; |
} else { | } else { |