Merge "libutils: Trace.h for everything but windows"
This commit is contained in:
commit
30a3b92c0e
1 changed files with 7 additions and 7 deletions
|
|
@ -17,7 +17,12 @@
|
|||
#ifndef ANDROID_TRACE_H
|
||||
#define ANDROID_TRACE_H
|
||||
|
||||
#if defined(__ANDROID__)
|
||||
#if defined(_WIN32)
|
||||
|
||||
#define ATRACE_NAME(...)
|
||||
#define ATRACE_CALL()
|
||||
|
||||
#else // !_WIN32
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
@ -51,11 +56,6 @@ private:
|
|||
|
||||
} // namespace android
|
||||
|
||||
#else // !__ANDROID__
|
||||
|
||||
#define ATRACE_NAME(...)
|
||||
#define ATRACE_CALL()
|
||||
|
||||
#endif // __ANDROID__
|
||||
#endif // _WIN32
|
||||
|
||||
#endif // ANDROID_TRACE_H
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue