| 123456789101112131415161718192021222324252627 |
- //-------------------------------------------------------------------------------------------------------
- // Copyright (C) Microsoft. All rights reserved.
- // Copyright (c) ChakraCore Project Contributors. All rights reserved.
- // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
- //-------------------------------------------------------------------------------------------------------
- #pragma once
- #include "UnicodeText.h"
- // Configure whether we configure a signal handler
- // to produce perf-<pid>.map files
- #ifndef PERFMAP_TRACE_ENABLED
- #define PERFMAP_TRACE_ENABLED 0
- #endif
- #if PERFMAP_TRACE_ENABLED
- #include "PerfTrace.h"
- #endif
- #include "PlatformAgnostic/DateTime.h"
- #include "PlatformAgnostic/AssemblyCommon.h"
- #if !defined(_WIN32) && defined(DEBUG)
- // This define from sal.h conflicts with Linux's signal.h
- #undef __reserved
- #include <signal.h> // raise(SIGINT)
- #endif
|