mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-30 12:19:04 +00:00
Update laf library (MEMLEAK is LAF_MEMLEAK now)
This commit is contained in:
parent
ce6c85996e
commit
40000a7e77
@ -435,7 +435,7 @@ add_subdirectory(third_party)
|
||||
include_directories(src)
|
||||
add_definitions(-DHAVE_CONFIG_H)
|
||||
if(ENABLE_MEMLEAK)
|
||||
add_definitions(-DMEMLEAK)
|
||||
add_definitions(-DLAF_MEMLEAK)
|
||||
endif()
|
||||
|
||||
set(LAF_WITH_TESTS ${ENABLE_TESTS} CACHE BOOL "Enable LAF tests")
|
||||
|
2
laf
2
laf
@ -1 +1 @@
|
||||
Subproject commit 88dd1683c05e6da7d8bea781a0e6ef32d28f8b94
|
||||
Subproject commit 11274341a6390f9dda085256f98567156aa21cc9
|
@ -35,7 +35,7 @@ namespace {
|
||||
// Memory leak detector wrapper
|
||||
class MemLeak {
|
||||
public:
|
||||
#ifdef MEMLEAK
|
||||
#ifdef LAF_MEMLEAK
|
||||
MemLeak() { base_memleak_init(); }
|
||||
~MemLeak() { base_memleak_exit(); }
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user