From 737d112f2cd532ed9c2f46a7318b67afc2e4463e Mon Sep 17 00:00:00 2001 From: navarrop Date: Mon, 14 Jun 2010 09:44:08 +0000 Subject: [PATCH] We used those lines in VBC. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7851 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- buildtools/Cmake/gras_config.h.in | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/buildtools/Cmake/gras_config.h.in b/buildtools/Cmake/gras_config.h.in index e31398168d..5d0d6a2917 100644 --- a/buildtools/Cmake/gras_config.h.in +++ b/buildtools/Cmake/gras_config.h.in @@ -283,14 +283,12 @@ `char[]'. */ #cmakedefine YYTEXT_POINTER - #ifndef __VISUALC__ - /* Optional va_copy() implementation activation */ - #ifndef HAVE_VA_COPY - #define va_copy(d, s) __VA_COPY_USE(d, s) - #endif - /* Define to id of used va_copy() implementation */ - #cmakedefine __VA_COPY_USE(d, s) @__VA_COPY_USE@ +/* Optional va_copy() implementation activation */ +#ifndef HAVE_VA_COPY +#define va_copy(d, s) __VA_COPY_USE(d, s) #endif +/* Define to id of used va_copy() implementation */ +#cmakedefine __VA_COPY_USE(d, s) @__VA_COPY_USE@ /* Define to empty if `const' does not conform to ANSI C. */ #cmakedefine const @const@ -- 2.20.1