[llvm] r292670 - [libFuzzer] Don't use `#ifdef` for defined macros, instead use `#if`.
Marcos Pividori via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 20 14:49:13 PST 2017
Author: mpividori
Date: Fri Jan 20 16:49:13 2017
New Revision: 292670
URL: http://llvm.org/viewvc/llvm-project?rev=292670&view=rev
Log:
[libFuzzer] Don't use `#ifdef` for defined macros, instead use `#if`.
Differential Revision: https://reviews.llvm.org/D28972
Modified:
llvm/trunk/lib/Fuzzer/FuzzerShmemPosix.cpp
Modified: llvm/trunk/lib/Fuzzer/FuzzerShmemPosix.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/FuzzerShmemPosix.cpp?rev=292670&r1=292669&r2=292670&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerShmemPosix.cpp (original)
+++ llvm/trunk/lib/Fuzzer/FuzzerShmemPosix.cpp Fri Jan 20 16:49:13 2017
@@ -9,7 +9,7 @@
// SharedMemoryRegion
//===----------------------------------------------------------------------===//
#include "FuzzerDefs.h"
-#ifdef LIBFUZZER_POSIX
+#if LIBFUZZER_POSIX
#include "FuzzerIO.h"
#include "FuzzerShmem.h"
More information about the llvm-commits
mailing list