Skip to content
Browse files

#undef Ruby's PACKAGE_*** symbols before including magick/api.h

  • Loading branch information...
1 parent a9bc337 commit 8949cd29d72db1226c135be613275dd09b40b896 rmagick committed Jun 14, 2005
Showing with 9 additions and 1 deletion.
  1. +9 −1 ext/RMagick/rmagick.h
View
10 ext/RMagick/rmagick.h
@@ -1,4 +1,4 @@
-/* $Id: rmagick.h,v 1.87 2005/06/12 21:07:56 rmagick Exp $ */
+/* $Id: rmagick.h,v 1.88 2005/06/14 22:41:02 rmagick Exp $ */
/*=============================================================================
| Copyright (C) 2005 by Timothy P. Hunter
| Name: rmagick.h
@@ -19,6 +19,14 @@
#include "ruby.h"
#include "intern.h"
#include "rubyio.h"
+
+
+// Undef Ruby's versions of these symbols
+#undef PACKAGE_VERSION
+#undef PACKAGE_NAME
+#undef PACKAGE_STRING
+#undef PACKAGE_BUGREPORT
+#undef PACKAGE_TARNAME
#include "magick/api.h"

0 comments on commit 8949cd2

Please sign in to comment.
Something went wrong with that request. Please try again.