[llvm-commits] [gcc-plugin] r76169 - /gcc-plugin/trunk/llvm-plugin.cpp
Duncan Sands
baldrick at free.fr
Fri Jul 17 02:17:24 PDT 2009
Author: baldrick
Date: Fri Jul 17 04:16:38 2009
New Revision: 76169
URL: http://llvm.org/viewvc/llvm-project?rev=76169&view=rev
Log:
Define IN_GCC before including gcc headers.
Modified:
gcc-plugin/trunk/llvm-plugin.cpp
Modified: gcc-plugin/trunk/llvm-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-plugin.cpp?rev=76169&r1=76168&r2=76169&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-plugin.cpp (original)
+++ gcc-plugin/trunk/llvm-plugin.cpp Fri Jul 17 04:16:38 2009
@@ -33,6 +33,8 @@
// GCC headers
#undef VISIBILITY_HIDDEN
+#define IN_GCC
+
extern "C" {
#include "intl.h"
}
More information about the llvm-commits
mailing list