[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix compile on OSX by including std-vector.hh instead of <vector> (i
From: |
Carl . D . Sorensen |
Subject: |
Re: Fix compile on OSX by including std-vector.hh instead of <vector> (issue 5437052) |
Date: |
Thu, 24 Nov 2011 15:06:24 +0000 |
Reviewers: Graham Percival,
Message:
On 2011/11/24 01:13:53, Graham Percival wrote:
this is the kind of patch that can in theory be pushed directly to
staging,
although in this case I'm glad there was a review first.
This is precisely why I put this up for review instead of pushing it. I
knew the code worked, but I wasn't positive about the optimal way to
handle it. Thanks for the comment!
Carl
Description:
Fix compile on OSX by including std-vector.hh instead of <vector>
Please review this at http://codereview.appspot.com/5437052/
Affected files:
M lily/include/lily-guile.hh
Index: lily/include/lily-guile.hh
diff --git a/lily/include/lily-guile.hh b/lily/include/lily-guile.hh
index
c153aeb4dc66625bf23be8ef228aea9818dc8745..a7c8462a4eb24f87f4de1c189a5d6bcc75f3be4c
100644
--- a/lily/include/lily-guile.hh
+++ b/lily/include/lily-guile.hh
@@ -26,7 +26,10 @@
#include <libguile.h>
#include <string.h>
-#include <vector>
+
+#ifndef STD_VECTOR_HH
+#include "std-vector.hh"
+#endif
/*
Hack for various MacOS incarnations.