Remove Windows-specific code from Trace.h

libcutils builds for Windows, so there is no need to handle Windows
differently in Trace.h.
    
Bug: 322360037
Test: build libutils for Windows

Change-Id: If17de95a2222c7d17c74988695d68754f06957ea
This commit is contained in:
Jerome Gaillard 2024-07-31 15:52:09 +00:00
parent 2ed904d8ea
commit b654f2c287

View file

@ -17,13 +17,6 @@
#ifndef ANDROID_TRACE_H
#define ANDROID_TRACE_H
#if defined(_WIN32)
#define ATRACE_NAME(...)
#define ATRACE_CALL()
#else // !_WIN32
#include <stdint.h>
#include <cutils/trace.h>
@ -56,6 +49,4 @@ private:
} // namespace android
#endif // _WIN32
#endif // ANDROID_TRACE_H