We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9e05a3 commit b78d4c1Copy full SHA for b78d4c1
compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cpp
@@ -20,13 +20,13 @@ namespace __sanitizer {
20
// The Windows implementations of these functions use the win32 API directly,
21
// bypassing libc.
22
#if !SANITIZER_WINDOWS
23
-#if SANITIZER_LINUX
+# if SANITIZER_LINUX
24
void LogMessageOnPrintf(const char *str) {}
25
-#endif
+# endif
26
void WriteToSyslog(const char *buffer) {}
27
void Abort() { internal__exit(1); }
28
bool CreateDir(const char *pathname) { return false; }
29
-#endif // !SANITIZER_WINDOWS
+#endif // !SANITIZER_WINDOWS
30
31
#if !SANITIZER_WINDOWS && !SANITIZER_APPLE
32
void ListOfModules::init() {}
0 commit comments