diff options
Diffstat (limited to 'ArchiveEx/dat.cpp')
-rw-r--r-- | ArchiveEx/dat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ArchiveEx/dat.cpp b/ArchiveEx/dat.cpp index 6df04bc..ceeaa9e 100644 --- a/ArchiveEx/dat.cpp +++ b/ArchiveEx/dat.cpp @@ -1,4 +1,4 @@ -#ifdef WIN32 +#ifdef _WIN32 #include <shlwapi.h> #else #include <fnmatch.h> @@ -179,7 +179,7 @@ FilterFile(const std::vector<std::string>& patterns, std::function<void(const ch if (patterns.empty()) return func(name); for (const auto& pattern : patterns) { -#ifdef WIN32 +#ifdef _WIN32 if (PathMatchSpecA(name, pattern.c_str())) #else if (0 == fnmatch(pattern.c_str(), name, FNM_PATHNAME | FNM_LEADING_DIR)) |