diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-11 00:00:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-11 00:00:44 +0300 |
commit | 380ae136f98671a81feb6095a66ac5401b1ff29e (patch) | |
tree | d2045b521e3f4be78524d551165bd6defd25ec39 /src/utils/virtfsrwops.h | |
parent | c218293c2fe001c23099e73bf9276fe295a7e682 (diff) | |
download | mv-380ae136f98671a81feb6095a66ac5401b1ff29e.tar.gz mv-380ae136f98671a81feb6095a66ac5401b1ff29e.tar.bz2 mv-380ae136f98671a81feb6095a66ac5401b1ff29e.tar.xz mv-380ae136f98671a81feb6095a66ac5401b1ff29e.zip |
Rename define DEBUG_PHYSFS into DEBUG_VIRTFS
Diffstat (limited to 'src/utils/virtfsrwops.h')
-rw-r--r-- | src/utils/virtfsrwops.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/utils/virtfsrwops.h b/src/utils/virtfsrwops.h index e9d68f044..a1b073454 100644 --- a/src/utils/virtfsrwops.h +++ b/src/utils/virtfsrwops.h @@ -33,13 +33,14 @@ namespace VirtFs { -#ifdef DEBUG_PHYSFS +#ifdef DEBUG_VIRTFS SDL_RWops *RWopsOpenRead(const char *const fname, const char *restrict const file, const unsigned line); -#else // DEBUG_PHYSFS + void reportLeaks(); +#else // DEBUG_VIRTFS SDL_RWops *RWopsOpenRead(const char *const fname); -#endif // DEBUG_PHYSFS +#endif // DEBUG_VIRTFS SDL_RWops *RWopsOpenWrite(const char *const fname) A_WARN_UNUSED; SDL_RWops *RWopsOpenAppend(const char *const fname) A_WARN_UNUSED; @@ -47,9 +48,6 @@ namespace VirtFs #ifdef DUMP_LEAKED_RESOURCES void reportRWops(); #endif // DUMP_LEAKED_RESOURCES -#ifdef DEBUG_PHYSFS - void reportLeaks(); -#endif // DEBUG_PHYSFS } // namespace VirtFs #endif // UTILS_PHYSFSRWOPS_H |