[Spice-devel] [PATCH spice-gtk] Move undef FORTIFY below config.h

Marc-André Lureau marcandre.lureau at gmail.com
Wed Mar 14 12:43:20 PDT 2012


It used to be below, then was moved on top of all, but now it's
defined in config.h. Hopefully below config.h is the right
place. config.h should never have direct includes anyway.
---
 gtk/continuation.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gtk/continuation.c b/gtk/continuation.c
index fa958b9..2891a25 100644
--- a/gtk/continuation.c
+++ b/gtk/continuation.c
@@ -17,10 +17,10 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
  */
-#undef _FORTIFY_SOURCE
-
 #include <config.h>
 
+#undef _FORTIFY_SOURCE
+
 #include "continuation.h"
 
 /*
-- 
1.7.7.6



More information about the Spice-devel mailing list