diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-25 09:49:14 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-25 09:49:14 +0100 |
commit | 7a5ef0a87f2cd2ef29587185faedba381be505d5 (patch) | |
tree | 1eda1b47d0a2837c89fb8bb6cd1470f811849f72 /Libraries | |
parent | 2fc56abd4b3f49ef9665b1df12895f8abcf049d9 (diff) | |
download | serenity-7a5ef0a87f2cd2ef29587185faedba381be505d5.zip |
LibJS: Disable HEAP_DEBUG logging on non-SerenityOS platforms
This makes it a bit easier to work with LibJS on Linux for now.
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibJS/Heap/Heap.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibJS/Heap/Heap.cpp b/Libraries/LibJS/Heap/Heap.cpp index b3853680c4..c75702bd35 100644 --- a/Libraries/LibJS/Heap/Heap.cpp +++ b/Libraries/LibJS/Heap/Heap.cpp @@ -40,7 +40,9 @@ # include <pthread.h> #endif +#ifdef __serenity__ #define HEAP_DEBUG +#endif namespace JS { |