[110689] trunk/base/src/darwintracelib1.0/darwintrace.c
jeremyhu at macports.org
jeremyhu at macports.org
Tue Sep 3 16:12:19 PDT 2013
Revision: 110689
https://trac.macports.org/changeset/110689
Author: jeremyhu at macports.org
Date: 2013-09-03 16:12:19 -0700 (Tue, 03 Sep 2013)
Log Message:
-----------
darwintrace requires gcc-4.2 or later
Modified Paths:
--------------
trunk/base/src/darwintracelib1.0/darwintrace.c
Modified: trunk/base/src/darwintracelib1.0/darwintrace.c
===================================================================
--- trunk/base/src/darwintracelib1.0/darwintrace.c 2013-09-03 22:59:31 UTC (rev 110688)
+++ trunk/base/src/darwintracelib1.0/darwintrace.c 2013-09-03 23:12:19 UTC (rev 110689)
@@ -503,6 +503,10 @@
char *path, *replacement, command;
#endif
+#if __GNUC__ && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 2))
+#error Please build with gcc-4.2 or later
+#endif
+
/*
* ensure we have a filemap present; this might be called simultanously
* from multiple threads and needs to work without leaking and in a way
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130903/c2ebca40/attachment.html>
More information about the macports-changes
mailing list